diff --git a/js/apps/account-ui/src/root/PageNav.tsx b/js/apps/account-ui/src/root/PageNav.tsx index 09b0e6bab35f..2dbf7368b4aa 100644 --- a/js/apps/account-ui/src/root/PageNav.tsx +++ b/js/apps/account-ui/src/root/PageNav.tsx @@ -137,7 +137,7 @@ export const NavLink = ({ isActive, children, }: PropsWithChildren) => { - const menuItemPath = getFullUrl(path) + `?${location.search}`; + const menuItemPath = getFullUrl(path) + location.search; const href = useHref(menuItemPath); const handleClick = useLinkClickHandler(menuItemPath);