You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Create.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ const PostCreate = () => (
128
128
129
129
## `authLoading`
130
130
131
-
By default, `<Create>` renders the children while checking for authentication and permissions. You can display a component during this time via the `authLoading` prop:
131
+
By default, `<Create>` renders the `<Loading>` component while checking for authentication and permissions. You can display a custom component via the `authLoading` prop:
Copy file name to clipboardExpand all lines: docs/Edit.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,7 @@ const Aside = () => {
206
206
207
207
## `authLoading`
208
208
209
-
By default, `<Edit>` renders the `<Loading>` component while checking for authentication and permissions. You can display a custom component during this time via the `authLoading` prop:
209
+
By default, `<Edit>` renders the `<Loading>` component while checking for authentication and permissions. You can display a custom component via the `authLoading` prop:
By default, `<List>` renders the children while checking for authentication and permissions. You can display a component during this time via the `authLoading` prop:
281
+
By default, `<List>` renders the `<Loading>` component while checking for authentication and permissions. You can display a custom component via the `authLoading` prop:
Copy file name to clipboardExpand all lines: docs/Show.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,7 @@ const Aside = () => {
153
153
154
154
## `authLoading`
155
155
156
-
By default, `<Show>` renders the children while checking for authentication and permissions. You can display a component during this time via the `authLoading` prop:
156
+
By default, `<Show>` renders the `<Loading>` component while checking for authentication and permissions. You can display a custom component via the `authLoading` prop:
157
157
158
158
```jsx
159
159
import { Show } from'react-admin';
@@ -896,4 +896,4 @@ const PostShow = () => (
896
896
897
897
Users without access will be redirected to the [Access Denied page](./Admin.md#accessdenied).
898
898
899
-
**Note**: Access control is disabled when you use [the `disableAuthentication` prop](#disableauthentication).
899
+
**Note**: Access control is disabled when you use [the `disableAuthentication` prop](#disableauthentication).
0 commit comments