diff --git a/web/src/hooks/use-overlay-state.tsx b/web/src/hooks/use-overlay-state.tsx index f8479c716..82fd0ee2d 100644 --- a/web/src/hooks/use-overlay-state.tsx +++ b/web/src/hooks/use-overlay-state.tsx @@ -76,7 +76,7 @@ export function useHashState(): [ if (!value) { navigate(location.pathname); } else { - navigate(`${location.pathname}#${value}`); + navigate(`${location.pathname}#${value}`, { state: location.state }); } }, // we know that these deps are correct