We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8638752 commit 2fd7e67Copy full SHA for 2fd7e67
1 file changed
services/backend-api/client/src/features/feed/components/UserFeedsTable/index.tsx
@@ -595,7 +595,11 @@ export const UserFeedsTable: React.FC<Props> = () => {
595
</Text>
596
</Center>
597
<Button
598
- isDisabled={!hasNextPage || isFetchingNextPage}
+ isDisabled={
599
+ !hasNextPage ||
600
+ isFetchingNextPage ||
601
+ (data?.pages[0].total != null && data.pages[0].total === flatData.length)
602
+ }
603
isLoading={isFetchingNextPage}
604
onClick={() => fetchNextPage()}
605
mb={20}
0 commit comments