From 81218054a00fca3ced4fadf1888a743614e5b04e Mon Sep 17 00:00:00 2001 From: codytseng Date: Mon, 20 Jan 2025 23:19:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/PageManager.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PageManager.tsx b/src/PageManager.tsx index 559e5cbc..8ba3f74a 100644 --- a/src/PageManager.tsx +++ b/src/PageManager.tsx @@ -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) => {