Skip to content

Commit 3ac5926

Browse files
authored
Merge pull request #9040 from marmelab/doc-fix-uselist-page-option-example
[Doc] Correct an example in useList doc, with page option
2 parents 1590655 + 1c7fb93 commit 3ac5926

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/useList.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ const { total, data } = useList({
195195
});
196196
// total will be 3 and data will be
197197
// [
198-
// { id: 3, name: 'Jean-Claude' },
198+
// { id: 1, name: 'Arnold' },
199+
// { id: 2, name: 'Sylvester' },
199200
// ]
200201
```
201202

0 commit comments

Comments
 (0)