Skip to content

Commit 1c2f940

Browse files
authored
Merge pull request #5967 from WiXSL/doc-perpage-default
[Doc] Fix default value for useListContext().perPage
2 parents 4b92ce0 + 5873ecc commit 1c2f940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/List.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1910,7 +1910,7 @@ const {
19101910
// pagination
19111911
page, // the current page. Starts at 1
19121912
setPage, // a callback to change the current page, e.g. setPage(3)
1913-
perPage, // the number of results per page. Defaults to 25
1913+
perPage, // the number of results per page. Defaults to 10
19141914
setPerPage, // a callback to change the number of results per page, e.g. setPerPage(25)
19151915
// sorting
19161916
currentSort, // a sort object { field, order }, e.g. { field: 'date', order: 'DESC' }

0 commit comments

Comments
 (0)