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 f81e5a3 commit ff3e14aCopy full SHA for ff3e14a
1 file changed
packages/ra-ui-materialui/src/list/InfiniteList.tsx
@@ -69,10 +69,10 @@ export const InfiniteList = <RecordType extends RaRecord = any>({
69
disableAuthentication,
70
disableSyncWithLocation,
71
exporter,
72
- filter,
+ filter = {},
73
filterDefaultValues,
74
pagination = defaultPagination,
75
- perPage,
+ perPage = 10,
76
queryOptions,
77
resource,
78
sort,
@@ -134,8 +134,3 @@ InfiniteList.propTypes = {
134
hasShow: PropTypes.bool,
135
resource: PropTypes.string,
136
};
137
-
138
-InfiniteList.defaultProps = {
139
- filter: {},
140
- perPage: 10,
141
-};
0 commit comments