Skip to content

Commit 44ffc95

Browse files
committed
[TypeScript] Fix useShowController result type
1 parent b425e51 commit 44ffc95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ra-core/src/controller/show/useShowController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export interface ShowControllerBaseResult<RecordType extends RaRecord = any> {
178178
isLoading: boolean;
179179
isPaused?: boolean;
180180
isPlaceholderData?: boolean;
181-
redirectOnError: RedirectionSideEffect;
181+
redirectOnError?: RedirectionSideEffect;
182182
resource: string;
183183
record?: RecordType;
184184
refetch: UseGetOneHookValue<RecordType>['refetch'];

0 commit comments

Comments
 (0)