From 3bee69dc84e37a1819f787848035f29030bd3b00 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sun, 11 Dec 2022 12:07:36 +0800 Subject: [PATCH] Clear notificationsNew when loading fresh --- src/pages/notifications.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/notifications.jsx b/src/pages/notifications.jsx index 9f3871d..ff14eea 100644 --- a/src/pages/notifications.jsx +++ b/src/pages/notifications.jsx @@ -158,6 +158,7 @@ export default () => { useEffect(() => { loadNotifications(true); + states.notificationsNew = []; }, []); const scrollableRef = useRef();