keep query parameters when changing routes (#32762)
fixes: #32736 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
parent
c466ea728d
commit
d26a514e8e
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ export const NavLink = ({
|
|||
isActive,
|
||||
children,
|
||||
}: PropsWithChildren<NavLinkProps>) => {
|
||||
const menuItemPath = getFullUrl(path);
|
||||
const menuItemPath = getFullUrl(path) + `?${location.search}`;
|
||||
const href = useHref(menuItemPath);
|
||||
const handleClick = useLinkClickHandler(menuItemPath);
|
||||
|
||||
|
|
Loading…
Reference in a new issue