mirror of
https://github.com/randyjc/Rahoot.git
synced 2026-03-13 20:15:35 +01:00
19 lines
324 B
TypeScript
19 lines
324 B
TypeScript
"use client"
|
|
|
|
import { useThemeStore } from "@rahoot/web/stores/theme"
|
|
import { useEffect } from "react"
|
|
|
|
const BrandingHelmet = () => {
|
|
const { brandName } = useThemeStore()
|
|
|
|
useEffect(() => {
|
|
if (brandName) {
|
|
document.title = brandName
|
|
}
|
|
}, [brandName])
|
|
|
|
return null
|
|
}
|
|
|
|
export default BrandingHelmet
|