diff options
author | Ivan Chen <ivan@thetaggid.com> | 2021-02-05 13:29:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-05 13:29:46 -0500 |
commit | 07a2e3841d49b3fb278f17676c1007b003f58b9e (patch) | |
tree | 0e8c9ebdb03ac2e64172f9a593288f08e2a8108b /src/screens/main/NotificationsScreen.tsx | |
parent | 454f5dec8cbf2065ba615fa83183cbde44ffee21 (diff) | |
parent | c3cd8f95c6534fb5eb78af299ef424c50aefd85a (diff) |
Merge branch 'master' into tma590-friendslist-buttons
Diffstat (limited to 'src/screens/main/NotificationsScreen.tsx')
-rw-r--r-- | src/screens/main/NotificationsScreen.tsx | 2 |
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 |