fix: 🐛

This commit is contained in:
codytseng
2025-01-20 23:19:17 +08:00
parent 9bc5fcb642
commit 81218054a0

View File

@@ -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) => {