Skip to content

Commit 40c6a9c

Browse files
committed
docs(Fix document):
1 parent 688897d commit 40c6a9c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,7 @@ const { data, size, setSize } = sdk.useMyQueryInfinite(
143143
if (previousPageData && !previousPageData.posts.length) {
144144
return null // reached the end
145145
}
146-
return {
147-
page: pageIndex,
148-
}
146+
return ['page', pageIndex]
149147
},
150148
variables, // GraphQL Query Variables
151149
config // Configuration of useSWRInfinite

0 commit comments

Comments
 (0)