aboutsummaryrefslogtreecommitdiff
path: root/src/screens/main/NotificationsScreen.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-01-15 17:53:05 -0500
committerIvan Chen <ivan@tagg.id>2021-01-15 20:18:33 -0500
commitb138c10822e399c84e54c35e2775e4eb53da1567 (patch)
tree95b50204fd23605b82054e9ffe3c67479b6360bc /src/screens/main/NotificationsScreen.tsx
parenta296cf6e26ad57f951487c94009cb1693c281c1f (diff)
fixed some bugs
Diffstat (limited to 'src/screens/main/NotificationsScreen.tsx')
-rw-r--r--src/screens/main/NotificationsScreen.tsx8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/screens/main/NotificationsScreen.tsx b/src/screens/main/NotificationsScreen.tsx
index ba52d988..da1e7a2b 100644
--- a/src/screens/main/NotificationsScreen.tsx
+++ b/src/screens/main/NotificationsScreen.tsx
@@ -96,13 +96,7 @@ const NotificationsScreen: React.FC = () => {
}, [lastViewed, notifications]);
const renderNotification = ({item}: {item: NotificationType}) => (
- <Notification
- item={item}
- userXId={
- item.actor.id === loggedInUser.userId ? undefined : item.actor.id
- }
- screenType={ScreenType.Notifications}
- />
+ <Notification item={item} screenType={ScreenType.Notifications} />
);
const renderSectionHeader = ({section: {title, data}}) =>