diff --git a/packages/common/src/api/tan-query/lineups/useFeed.ts b/packages/common/src/api/tan-query/lineups/useFeed.ts index b7423a5d765..a2f95257d23 100644 --- a/packages/common/src/api/tan-query/lineups/useFeed.ts +++ b/packages/common/src/api/tan-query/lineups/useFeed.ts @@ -60,11 +60,7 @@ export const useFeed = ( const isFirstPage = allPages.length === 1 const currentPageSize = isFirstPage ? initialPageSize : loadMorePageSize if (lastPage.length < currentPageSize) return undefined - return allPages.reduce( - (total, page) => - total + page.filter((d) => d.type === EntityType.TRACK).length, - 0 - ) + return allPages.reduce((total, page) => total + page.length, 0) }, queryKey, queryFn: async ({ pageParam }) => {