Skip to content

Commit a1809e8

Browse files
committed
Remove forgottent emptyWhileLoading and query state props.
1 parent 9da50cd commit a1809e8

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

docs_headless/src/content/docs/ReferenceFieldBase.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,7 @@ For instance, with this code:
219219
import { ListBase, RecordsIterator, ReferenceFieldBase } from 'ra-core';
220220

221221
export const PostList = () => (
222-
<ListBase
223-
error={null}
224-
offline={null}
225-
emptyWhileLoading
226-
>
222+
<ListBase>
227223
<RecordsIterator>
228224
<ReferenceFieldBase source="user_id" reference="users">
229225
<AuthorView />

docs_headless/src/content/docs/ReferenceManyFieldBase.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,7 @@ You can also use `<ReferenceManyFieldBase>` in a list, e.g. to display the autho
7272
import { ListBase, RecordsIterator, ReferenceManyFieldBase } from 'ra-core';
7373

7474
export const PostList = () => (
75-
<ListBase
76-
error={null}
77-
offline={null}
78-
emptyWhileLoading
79-
>
75+
<ListBase>
8076
<RecordsIterator>
8177
<ReferenceManyFieldBase reference="comments" target="post_id">
8278
<CustomAuthorView source="name"/>

0 commit comments

Comments
 (0)