aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/hooks/usePageTitle.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/hooks/usePageTitle.ts')
-rw-r--r--frontend/app/hooks/usePageTitle.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/app/hooks/usePageTitle.ts b/frontend/app/hooks/usePageTitle.ts
index fb8def5..6cee3c7 100644
--- a/frontend/app/hooks/usePageTitle.ts
+++ b/frontend/app/hooks/usePageTitle.ts
@@ -1,7 +1,7 @@
import { useEffect } from "react";
export function usePageTitle(title: string) {
- useEffect(() => {
- document.title = title;
- }, [title]);
+ useEffect(() => {
+ document.title = title;
+ }, [title]);
}