diff options
author | Ivan Chen <ivan@tagg.id> | 2021-01-15 17:53:05 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-01-15 20:18:33 -0500 |
commit | b138c10822e399c84e54c35e2775e4eb53da1567 (patch) | |
tree | 95b50204fd23605b82054e9ffe3c67479b6360bc /src/screens/main/NotificationsScreen.tsx | |
parent | a296cf6e26ad57f951487c94009cb1693c281c1f (diff) |
fixed some bugs
Diffstat (limited to 'src/screens/main/NotificationsScreen.tsx')
-rw-r--r-- | src/screens/main/NotificationsScreen.tsx | 8 |
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}}) => |