Clear notificationsNew when loading fresh

This commit is contained in:
Lim Chee Aun 2022-12-11 12:07:36 +08:00
parent 977176067e
commit 3bee69dc84

View file

@ -158,6 +158,7 @@ export default () => {
useEffect(() => {
loadNotifications(true);
states.notificationsNew = [];
}, []);
const scrollableRef = useRef();