We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c5260d1 + cefa3f5 commit fe24333Copy full SHA for fe24333
packages/ra-core/src/dataProvider/useGetList.ts
@@ -12,7 +12,7 @@ import {
12
} from '../types';
13
import useQueryWithStore from './useQueryWithStore';
14
15
-const defautlPagination = { page: 1, perPage: 25 };
+const defaultPagination = { page: 1, perPage: 25 };
16
const defaultSort = { field: 'id', order: 'DESC' };
17
const defaultFilter = {};
18
const defaultIds = [];
@@ -61,7 +61,7 @@ const defaultData = {};
61
*/
62
const useGetList = <RecordType extends Record = Record>(
63
resource: string,
64
- pagination: PaginationPayload = defautlPagination,
+ pagination: PaginationPayload = defaultPagination,
65
sort: SortPayload = defaultSort,
66
filter: object = defaultFilter,
67
options?: UseDataProviderOptions
0 commit comments