diff options
author | Ivan Chen <ivan@tagg.id> | 2021-06-23 17:50:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 17:50:22 -0400 |
commit | 53bdc94cf0491e348b7d4ad61e51ce1844423773 (patch) | |
tree | 5cc31490ed3d276e51cb1dc4385c2b26e6071ff9 /src/screens/main/NotificationsScreen.tsx | |
parent | 53461e8412b1f3b95124f9d9a6f50580d26930f5 (diff) | |
parent | d309c8e66470d8d89063b817397cd6568bf6a8bf (diff) |
Merge pull request #469 from shravyaramesh/tma923-image-cropper
[TMA-923/924] Image cropper, Display arbitrary sized image
Diffstat (limited to 'src/screens/main/NotificationsScreen.tsx')
-rw-r--r-- | src/screens/main/NotificationsScreen.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/screens/main/NotificationsScreen.tsx b/src/screens/main/NotificationsScreen.tsx index 03842b0a..84c15f66 100644 --- a/src/screens/main/NotificationsScreen.tsx +++ b/src/screens/main/NotificationsScreen.tsx @@ -36,8 +36,9 @@ 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, ); |