Aktueller Stand

This commit is contained in:
2026-01-17 20:59:26 +01:00
parent f3d350e64e
commit 67ba95ae23
2 changed files with 16 additions and 8 deletions

View File

@@ -56,6 +56,14 @@ export default function NavBar() {
loadAppName();
}, []);
useEffect(() => {
if (typeof document === "undefined") return;
const nextTitle = appName?.trim();
if (nextTitle) {
document.title = nextTitle;
}
}, [appName]);
useEffect(() => {
if (typeof document === "undefined") return;
const root = document.documentElement;