refactor: don't add tinyauth suffix to title

This commit is contained in:
Stavros
2025-10-08 16:41:41 +03:00
parent e5f1df03c4
commit e878516130

View File

@@ -8,9 +8,7 @@ const BaseLayout = ({ children }: { children: React.ReactNode }) => {
const { backgroundImage, title } = useAppContext(); const { backgroundImage, title } = useAppContext();
useEffect(() => { useEffect(() => {
if (title !== "Tinyauth") { document.title = title;
document.title = title + " - Tinyauth";
}
}, [title]); }, [title]);
return ( return (