Files
Rahoot/packages/web/src/components/BrandingHelmet.tsx
2025-12-09 10:29:18 +01:00

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