Skip to content

Commit 1c7fb93

Browse files
committed
fix: data for useList with page: 1 will be Arnold and Sylvester
1 parent 1590655 commit 1c7fb93

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)