mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-27 20:25:41 +00:00
refactor: don't add tinyauth suffix to title
This commit is contained in:
@@ -8,9 +8,7 @@ const BaseLayout = ({ children }: { children: React.ReactNode }) => {
|
||||
const { backgroundImage, title } = useAppContext();
|
||||
|
||||
useEffect(() => {
|
||||
if (title !== "Tinyauth") {
|
||||
document.title = title + " - Tinyauth";
|
||||
}
|
||||
document.title = title;
|
||||
}, [title]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user