diff --git a/src/views/board/board.tsx b/src/views/board/board.tsx index 7f910de6..c01736c2 100644 --- a/src/views/board/board.tsx +++ b/src/views/board/board.tsx @@ -56,16 +56,13 @@ const Board = () => { const { sortType } = useSortingStore(); const { timeFilterSeconds, timeFilterName } = useTimeFilter(); - const feedOptions: any = useMemo( - () => ({ - subplebbitAddresses, - sortType, - postsPerPage: isInAllView || isInSubscriptionsView ? 5 : 25, - ...(isInAllView || isInSubscriptionsView ? { newerThan: timeFilterSeconds } : {}), - filter: hideThreadsWithoutImages ? threadsWithoutImagesFilter : undefined, - }), - [subplebbitAddresses, sortType, timeFilterSeconds, isInAllView, isInSubscriptionsView, hideThreadsWithoutImages], - ); + const feedOptions = { + subplebbitAddresses, + sortType, + postsPerPage: isInAllView || isInSubscriptionsView ? 5 : 25, + ...(isInAllView || isInSubscriptionsView ? { newerThan: timeFilterSeconds } : {}), + filter: hideThreadsWithoutImages ? threadsWithoutImagesFilter : undefined, + }; const { feed, hasMore, loadMore, reset, subplebbitAddressesWithNewerPosts } = useFeed(feedOptions); const { accountComments } = useAccountComments();