diff options
author | Ivan Chen <ivan@tagg.id> | 2021-05-24 17:24:44 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-05-24 17:24:44 -0400 |
commit | a413ca2a7ad004dcfd079b992810e1e63d46660d (patch) | |
tree | eb073dcbe6ff7a5a55839150784480774a803968 /src/screens/main/NotificationsScreen.tsx | |
parent | 002015e9943ab34d7690babf0fdd24e16b62cf17 (diff) | |
parent | 53f624423fa8f758da5542e62704b59fa53316ea (diff) |
Merge branch 'master' into tma889-touchable-triangle
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, ); |