Skip to content

Commit 845152f

Browse files
committed
Fix regression on disableAuthentication
1 parent f73e54f commit 845152f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/ra-core/src/controller/list/ListBase.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ import { useIsAuthPending } from '../../auth';
4646
*/
4747
export const ListBase = <RecordType extends RaRecord = any>({
4848
children,
49-
disableAuthentication,
5049
render,
5150
loading,
5251
offline,
@@ -66,7 +65,7 @@ export const ListBase = <RecordType extends RaRecord = any>({
6665

6766
const showLoading =
6867
isAuthPending &&
69-
!disableAuthentication &&
68+
!props.disableAuthentication &&
7069
loading !== undefined &&
7170
loading !== false;
7271

0 commit comments

Comments
 (0)