diff options
Diffstat (limited to 'src/view/com/notifications/Feed.tsx')
-rw-r--r-- | src/view/com/notifications/Feed.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/view/com/notifications/Feed.tsx b/src/view/com/notifications/Feed.tsx index e2f12e84f..3e7fdfc71 100644 --- a/src/view/com/notifications/Feed.tsx +++ b/src/view/com/notifications/Feed.tsx @@ -35,11 +35,13 @@ export function Feed({ onPressTryAgain, onScrolledDownChange, ListHeaderComponent, + overridePriorityNotifications, }: { scrollElRef?: ListRef onPressTryAgain?: () => void onScrolledDownChange: (isScrolledDown: boolean) => void ListHeaderComponent?: () => JSX.Element + overridePriorityNotifications?: boolean }) { const initialNumToRender = useInitialNumToRender() @@ -59,7 +61,10 @@ export function Feed({ hasNextPage, isFetchingNextPage, fetchNextPage, - } = useNotificationFeedQuery({enabled: !!moderationOpts}) + } = useNotificationFeedQuery({ + enabled: !!moderationOpts, + overridePriorityNotifications, + }) const isEmpty = !isFetching && !data?.pages[0]?.items.length const items = React.useMemo(() => { |