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 26de41c commit 28f31d8Copy full SHA for 28f31d8
1 file changed
packages/ra-ui-materialui/src/list/List.tsx
@@ -62,7 +62,7 @@ export const List = <RecordType extends RaRecord = any>({
62
disableAuthentication,
63
disableSyncWithLocation,
64
exporter,
65
- filter = {},
+ filter = defaultFilter,
66
filterDefaultValues,
67
perPage = 10,
68
queryOptions,
@@ -121,3 +121,5 @@ List.propTypes = {
121
hasCreate: PropTypes.bool,
122
resource: PropTypes.string,
123
};
124
+
125
+const defaultFilter = {};
0 commit comments