From 33941218860bf075f2bca70f2384c7bdce1c8111 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Mon, 11 Jul 2022 17:12:46 +0530 Subject: [PATCH] query params updated --- libs/remix-lib/src/query-params.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/remix-lib/src/query-params.ts b/libs/remix-lib/src/query-params.ts index 7e89b226ff..41374be3bf 100644 --- a/libs/remix-lib/src/query-params.ts +++ b/libs/remix-lib/src/query-params.ts @@ -17,7 +17,9 @@ export class QueryParams { } get () { - const qs = window.location.hash.substr(1) + let qs + if (window.location.hash.startsWith('#/#')) qs = window.location.hash.substr(3) + else qs = window.location.hash.substr(1) if (window.location.search.length > 0) { // use legacy query params instead of hash