diff --git a/static/app/utils/useNavigate.tsx b/static/app/utils/useNavigate.tsx index 2145b973b88faf..94b51b82f81883 100644 --- a/static/app/utils/useNavigate.tsx +++ b/static/app/utils/useNavigate.tsx @@ -40,7 +40,7 @@ export function useNavigate(): ReactRouter3Navigate { (to: LocationDescriptor | number, options: NavigateOptions = {}) => typeof to === 'number' ? router6Navigate(to) - : router6Navigate(locationDescriptorToTo(to), options), + : router6Navigate(locationDescriptorToTo(normalizeUrl(to)), options), [router6Navigate] );