Skip to content

Commit

Permalink
Revert "fix(router): Add missing normalizeUrl to rr6 useNavigate (#82163
Browse files Browse the repository at this point in the history
)" (#82848)

This reverts commit 65a4857.
  • Loading branch information
evanpurkhiser authored Jan 3, 2025
1 parent 520e316 commit 57a7e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/app/utils/useNavigate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function useNavigate(): ReactRouter3Navigate {
(to: LocationDescriptor | number, options: NavigateOptions = {}) =>
typeof to === 'number'
? router6Navigate(to)
: router6Navigate(locationDescriptorToTo(normalizeUrl(to)), options),
: router6Navigate(locationDescriptorToTo(to), options),
[router6Navigate]
);

Expand Down

0 comments on commit 57a7e5a

Please sign in to comment.