Browse Source

fix: 🐛

imwald
codytseng 1 year ago
parent
commit
81218054a0
  1. 2
      src/PageManager.tsx

2
src/PageManager.tsx

@ -70,7 +70,7 @@ export function PageManager({ maxStackSize = 5 }: { maxStackSize?: number }) { @@ -70,7 +70,7 @@ export function PageManager({ maxStackSize = 5 }: { maxStackSize?: number }) {
useEffect(() => {
if (window.location.pathname !== '/') {
pushSecondaryPage(window.location.pathname + window.location.search)
pushSecondaryPage(window.location.pathname + window.location.search + window.location.hash)
}
const onPopState = (e: PopStateEvent) => {

Loading…
Cancel
Save