Clear notificationsNew when loading fresh
This commit is contained in:
parent
977176067e
commit
3bee69dc84
|
@ -158,6 +158,7 @@ export default () => {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
loadNotifications(true);
|
loadNotifications(true);
|
||||||
|
states.notificationsNew = [];
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const scrollableRef = useRef();
|
const scrollableRef = useRef();
|
||||||
|
|
Loading…
Reference in a new issue