From 509aac11ab3025849dce9dbbed7f4a895b497791 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 30 Jan 2023 20:36:10 +0800 Subject: [PATCH] Fix document title leaked out Probably need to rethink this one day --- src/pages/notifications.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/notifications.jsx b/src/pages/notifications.jsx index f09dbc94..800efeb6 100644 --- a/src/pages/notifications.jsx +++ b/src/pages/notifications.jsx @@ -47,7 +47,7 @@ const contentText = { const LIMIT = 30; // 30 is the maximum limit :( function Notifications() { - useTitle('Notifications'); + useTitle('Notifications', '/notifications'); const snapStates = useSnapshot(states); const [uiState, setUIState] = useState('default'); const [showMore, setShowMore] = useState(false);