aboutsummaryrefslogtreecommitdiff
path: root/src/screens/main/NotificationsScreen.tsx
diff options
context:
space:
mode:
authorAshm Walia <ashmwalia@outlook.com>2021-01-29 10:55:14 -0800
committerAshm Walia <ashmwalia@outlook.com>2021-01-29 10:55:14 -0800
commit0e86cd3c972e54cf700cca65bb2493e84056276c (patch)
tree7d655845fd577107ff68c0d146fbdb2dca45659a /src/screens/main/NotificationsScreen.tsx
parent2c36dcff257de81438500eccf61a3f9a968331ce (diff)
kind of works
Diffstat (limited to 'src/screens/main/NotificationsScreen.tsx')
-rw-r--r--src/screens/main/NotificationsScreen.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/main/NotificationsScreen.tsx b/src/screens/main/NotificationsScreen.tsx
index 4bdee942..d9952aa8 100644
--- a/src/screens/main/NotificationsScreen.tsx
+++ b/src/screens/main/NotificationsScreen.tsx
@@ -70,7 +70,7 @@ const NotificationsScreen: React.FC = () => {
//Called when user leaves the screen
return () => resetNewNotificationFlag();
- }, [newNotificationReceived]),
+ }, [newNotificationReceived, dispatch, refreshNotifications]),
);
// handles storing and fetching the "previously viewed" information