We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a1ee3d commit 26de41cCopy full SHA for 26de41c
1 file changed
packages/ra-ui-materialui/src/list/InfiniteList.tsx
@@ -69,7 +69,7 @@ export const InfiniteList = <RecordType extends RaRecord = any>({
69
disableAuthentication,
70
disableSyncWithLocation,
71
exporter,
72
- filter = {},
+ filter = defaultFilter,
73
filterDefaultValues,
74
pagination = defaultPagination,
75
perPage = 10,
@@ -97,6 +97,7 @@ export const InfiniteList = <RecordType extends RaRecord = any>({
97
);
98
99
const defaultPagination = <InfinitePagination />;
100
+const defaultFilter = {};
101
102
export interface InfiniteListProps<RecordType extends RaRecord = any>
103
extends InfiniteListControllerProps<RecordType>,
0 commit comments