diff options
author | Ivan Chen <ivan@tagg.id> | 2021-05-24 17:23:58 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-05-24 17:23:58 -0400 |
commit | 0eb78b5c2d0731f0110cb7286786440ed19c4861 (patch) | |
tree | 76cd55c91f701e1fca16d3fe68d4706b5604ff84 /src/screens/main/NotificationsScreen.tsx | |
parent | c634270d5466bf24741f1f4423696af373f88c03 (diff) | |
parent | 53f624423fa8f758da5542e62704b59fa53316ea (diff) |
Merge branch 'master' into tma891-tag-with-photo-tap
Diffstat (limited to 'src/screens/main/NotificationsScreen.tsx')
-rw-r--r-- | src/screens/main/NotificationsScreen.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/screens/main/NotificationsScreen.tsx b/src/screens/main/NotificationsScreen.tsx index bce48ef2..ebcccc8e 100644 --- a/src/screens/main/NotificationsScreen.tsx +++ b/src/screens/main/NotificationsScreen.tsx @@ -36,9 +36,8 @@ const NotificationsScreen: React.FC = () => { ); const [refreshing, setRefreshing] = useState(false); // used for figuring out which ones are unread - const [lastViewed, setLastViewed] = useState<moment.Moment | undefined>( - undefined, - ); + const [lastViewed, setLastViewed] = + useState<moment.Moment | undefined>(undefined); const {notifications} = useSelector( (state: RootState) => state.notifications, ); |