Skip to content

Commit 91c3125

Browse files
committed
fix(docs): update pagination.current usages
1 parent abfee82 commit 91c3125

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

documentation/docs/data/data-provider/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ The method signature remains the same, and Refine expects a consistent format:
261261

262262
```ts
263263
getList: async ({ resource, pagination, sorters, filters, meta }) => {
264-
const { current, pageSize } = pagination ?? {};
264+
const { currentPage, pageSize } = pagination ?? {};
265265

266266
// Adjust request parameters to meet the requirements of your API
267267
const response = await apiClient.get(`/${resource}`, {

documentation/docs/data/packages/rest-data-provider/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ To implement `getList` effectively, you need to understand how data flows betwee
111111
When Refine calls `getList`, it provides these parameters:
112112

113113
- `resource`: the name of the collection (e.g. `"posts"`)
114-
- `pagination`: `{ current, pageSize }`
114+
- `pagination`: `{ currentPage, pageSize }`
115115
- `sorters`: `[ { field, order } ]`
116116
- `filters`: `[ { field, operator, value } ]`
117117

0 commit comments

Comments
 (0)