aboutsummaryrefslogtreecommitdiff
path: root/src/screens/main/NotificationsScreen.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-24 17:24:44 -0400
committerIvan Chen <ivan@tagg.id>2021-05-24 17:24:44 -0400
commita413ca2a7ad004dcfd079b992810e1e63d46660d (patch)
treeeb073dcbe6ff7a5a55839150784480774a803968 /src/screens/main/NotificationsScreen.tsx
parent002015e9943ab34d7690babf0fdd24e16b62cf17 (diff)
parent53f624423fa8f758da5542e62704b59fa53316ea (diff)
Merge branch 'master' into tma889-touchable-triangle
Diffstat (limited to 'src/screens/main/NotificationsScreen.tsx')
-rw-r--r--src/screens/main/NotificationsScreen.tsx5
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,
);