Skip to content

Commit 4947205

Browse files
authored
Merge pull request #9139 from smeng9/master
[Doc] Fix default perPage value of useList
2 parents d12280a + 492d550 commit 4947205

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/useList.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ const {
254254
isLoading, // boolean that is true until the data is available for the first time
255255
// pagination
256256
page, // the current page. Starts at 1
257-
perPage, // the number of results per page. Defaults to 25
257+
perPage, // the number of results per page. Defaults to 1000
258258
setPage, // a callback to change the page, e.g. setPage(3)
259259
setPerPage, // a callback to change the number of results per page, e.g. setPerPage(25)
260260
hasPreviousPage, // boolean, true if the current page is not the first one
@@ -278,4 +278,4 @@ const {
278278
resource, // undefined
279279
refetch, // a function that throws an error, as refetch doesn't make sense for local data
280280
} = useList({ data });
281-
```
281+
```

0 commit comments

Comments
 (0)