Skip to content

Commit 7003ccb

Browse files
authored
fix(react-router): correct useLoaderDeps structural sharing types (#6860)
1 parent 446d797 commit 7003ccb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/react-router/src/useLoaderDeps.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export type UseLoaderDepsRoute<out TId> = <
3737
TStructuralSharing extends boolean = boolean,
3838
>(
3939
opts?: UseLoaderDepsBaseOptions<TRouter, TId, TSelected, TStructuralSharing> &
40-
StructuralSharingOption<TRouter, TSelected, false>,
40+
StructuralSharingOption<TRouter, TSelected, TStructuralSharing>,
4141
) => UseLoaderDepsResult<TRouter, TId, TSelected>
4242

4343
/**

0 commit comments

Comments
 (0)