Skip to content

Commit 95369d4

Browse files
committed
Use loading prop instead of emptyWhileLoading.
1 parent f1f42cd commit 95369d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/ReferenceFieldBase.md

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

228228
export const PostList = () => (
229229
<ListBase
230+
loading={null}
230231
error={null}
231232
offline={null}
232-
emptyWhileLoading
233233
>
234234
<RecordsIterator>
235235
<ReferenceFieldBase source="user_id" reference="users">

docs/ReferenceManyFieldBase.md

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

7777
export const PostList = () => (
7878
<ListBase
79+
loading={null}
7980
error={null}
8081
offline={null}
81-
emptyWhileLoading
8282
>
8383
<RecordsIterator>
8484
<ReferenceManyFieldBase reference="comments" target="post_id">

0 commit comments

Comments
 (0)