Skip to content

Commit fe24333

Browse files
authored
Merge pull request #6069 from WiXSL/fix-typo-var
Fix typo in variable
2 parents c5260d1 + cefa3f5 commit fe24333

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ra-core/src/dataProvider/useGetList.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
} from '../types';
1313
import useQueryWithStore from './useQueryWithStore';
1414

15-
const defautlPagination = { page: 1, perPage: 25 };
15+
const defaultPagination = { page: 1, perPage: 25 };
1616
const defaultSort = { field: 'id', order: 'DESC' };
1717
const defaultFilter = {};
1818
const defaultIds = [];
@@ -61,7 +61,7 @@ const defaultData = {};
6161
*/
6262
const useGetList = <RecordType extends Record = Record>(
6363
resource: string,
64-
pagination: PaginationPayload = defautlPagination,
64+
pagination: PaginationPayload = defaultPagination,
6565
sort: SortPayload = defaultSort,
6666
filter: object = defaultFilter,
6767
options?: UseDataProviderOptions

0 commit comments

Comments
 (0)