mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-20 01:01:24 +03:00
Clear notificationsNew when loading fresh
This commit is contained in:
parent
977176067e
commit
3bee69dc84
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ export default () => {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
loadNotifications(true);
|
loadNotifications(true);
|
||||||
|
states.notificationsNew = [];
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const scrollableRef = useRef();
|
const scrollableRef = useRef();
|
||||||
|
|
Loading…
Add table
Reference in a new issue