From 099eb51962274d7163ca32eef1af809ff32a7ecc Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Thu, 23 Jan 2025 20:30:18 +0530 Subject: [PATCH] assign decoded hash --- src/client/app/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/app/router.ts b/src/client/app/router.ts index 2c09c2e4..675f089b 100644 --- a/src/client/app/router.ts +++ b/src/client/app/router.ts @@ -167,7 +167,7 @@ export function createRouter( function syncRouteQueryAndHash() { if (!inBrowser) return route.query = location.search - route.hash = location.hash + route.hash = decodeURIComponent(location.hash) } if (inBrowser) {