Skip to content

Commit 1400bbe

Browse files
committed
Remove loading property when using emptyWhileLoading.
1 parent a8aabbe commit 1400bbe

File tree

5 files changed

+1
-10
lines changed

5 files changed

+1
-10
lines changed

docs/ReferenceFieldBase.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ import { ListBase, RecordsIterator, ReferenceFieldBase } from 'react-admin';
227227

228228
export const PostList = () => (
229229
<ListBase
230-
loading={null}
231230
error={null}
232231
offline={null}
233232
emptyWhileLoading

docs/ReferenceManyFieldBase.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ import { ListBase, RecordsIterator, ReferenceManyFieldBase } from 'react-admin';
7676

7777
export const PostList = () => (
7878
<ListBase
79-
loading={null}
8079
error={null}
8180
offline={null}
8281
emptyWhileLoading

docs_headless/src/content/docs/ReferenceFieldBase.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ import { ListBase, RecordsIterator, ReferenceFieldBase } from 'ra-core';
220220

221221
export const PostList = () => (
222222
<ListBase
223-
loading={null}
224223
error={null}
225224
offline={null}
226225
emptyWhileLoading

docs_headless/src/content/docs/ReferenceManyFieldBase.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ import { ListBase, RecordsIterator, ReferenceManyFieldBase } from 'ra-core';
7373

7474
export const PostList = () => (
7575
<ListBase
76-
loading={null}
7776
error={null}
7877
offline={null}
7978
emptyWhileLoading

packages/ra-core/src/controller/field/ReferenceManyFieldBase.stories.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,7 @@ export const InAList = ({ dataProvider = dataProviderWithAuthorList }) => (
134134
<Resource
135135
name="authors"
136136
list={
137-
<ListBase
138-
loading={null}
139-
error={null}
140-
offline={null}
141-
emptyWhileLoading
142-
>
137+
<ListBase error={null} offline={null} emptyWhileLoading>
143138
<RecordsIterator
144139
render={author => (
145140
<div>

0 commit comments

Comments
 (0)