We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0edc116 commit c1be9bfCopy full SHA for c1be9bf
docs/src/pages/guides/paginated-queries.md
@@ -27,7 +27,7 @@ Consider the following example where we would ideally want to increment a pageIn
27
function Todos() {
28
const [page, setPage] = React.useState(0)
29
30
- const fetchProjects = (page = 0) => fetch('/api/projects?page=' + page)
+ const fetchProjects = (page = 0) => fetch('/api/projects?page=' + page).then((res) => res.json())
31
32
const {
33
isLoading,
0 commit comments