diff options
Diffstat (limited to 'src/view/com/notifications')
-rw-r--r-- | src/view/com/notifications/Feed.tsx | 11 | ||||
-rw-r--r-- | src/view/com/notifications/FeedItem.tsx | 3 |
2 files changed, 2 insertions, 12 deletions
diff --git a/src/view/com/notifications/Feed.tsx b/src/view/com/notifications/Feed.tsx index 2dac75e3c..ba88f78c0 100644 --- a/src/view/com/notifications/Feed.tsx +++ b/src/view/com/notifications/Feed.tsx @@ -38,7 +38,6 @@ export function Feed({ const {markAllRead} = useUnreadNotificationsApi() const { data, - dataUpdatedAt, isLoading, isFetching, isFetched, @@ -132,15 +131,9 @@ export function Feed({ } else if (item === LOADING_ITEM) { return <NotificationFeedLoadingPlaceholder /> } - return ( - <FeedItem - item={item} - dataUpdatedAt={dataUpdatedAt} - moderationOpts={moderationOpts!} - /> - ) + return <FeedItem item={item} moderationOpts={moderationOpts!} /> }, - [onPressRetryLoadMore, dataUpdatedAt, moderationOpts], + [onPressRetryLoadMore, moderationOpts], ) const showHeaderSpinner = !isPTRing && isFetching && !isLoading diff --git a/src/view/com/notifications/FeedItem.tsx b/src/view/com/notifications/FeedItem.tsx index 75d44a2fc..aaa2ea2c6 100644 --- a/src/view/com/notifications/FeedItem.tsx +++ b/src/view/com/notifications/FeedItem.tsx @@ -58,11 +58,9 @@ interface Author { let FeedItem = ({ item, - dataUpdatedAt, moderationOpts, }: { item: FeedNotification - dataUpdatedAt: number moderationOpts: ModerationOpts }): React.ReactNode => { const pal = usePalette('default') @@ -135,7 +133,6 @@ let FeedItem = ({ accessible={false}> <Post post={item.subject} - dataUpdatedAt={dataUpdatedAt} style={ item.notification.isRead ? undefined |