Skip to content

Commit bb3acf6

Browse files
committed
Revert "fix(router): Add missing normalizeUrl to rr6 useNavigate (#82163)"
This reverts commit 65a4857.
1 parent c563acb commit bb3acf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/utils/useNavigate.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export function useNavigate(): ReactRouter3Navigate {
4040
(to: LocationDescriptor | number, options: NavigateOptions = {}) =>
4141
typeof to === 'number'
4242
? router6Navigate(to)
43-
: router6Navigate(locationDescriptorToTo(normalizeUrl(to)), options),
43+
: router6Navigate(locationDescriptorToTo(to), options),
4444
[router6Navigate]
4545
);
4646

0 commit comments

Comments
 (0)