Skip to content

Commit f00de49

Browse files
authored
docs: Update paginated-queries.md (TanStack#2345)
1 parent 7a1382f commit f00de49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/guides/paginated-queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function Todos() {
6565
}
6666
}}
6767
// Disable the Next Page button until we know a next page is available
68-
disabled={isPreviousData || !data.hasMore}
68+
disabled={isPreviousData || !data?.hasMore}
6969
>
7070
Next Page
7171
</button>

0 commit comments

Comments
 (0)