diff options
| author | George Rusu <george@tagg.id> | 2021-05-25 13:35:05 -0700 |
|---|---|---|
| committer | George Rusu <george@tagg.id> | 2021-05-25 13:35:05 -0700 |
| commit | 4089ccdc05ffa5e02c6e0be717626cbdc631b8f2 (patch) | |
| tree | e279bfe3b33da17f85fc3ca83cbb1f338e05e4b3 /src/screens/main | |
| parent | a5ef509d2a1f79d85c76ee766dabe96acac2a989 (diff) | |
| parent | 7f991eef32475165f819dc8b666c5763f0021696 (diff) | |
Merge
Diffstat (limited to 'src/screens/main')
| -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, ); |
