From e76d25669b0b9c67848a04a1e3951aadc8536c62 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Fri, 6 Dec 2024 09:41:57 +0100 Subject: [PATCH] chore: comment [skip ci] --- packages/router/src/location.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/router/src/location.ts b/packages/router/src/location.ts index 0811c35c..0ca40799 100644 --- a/packages/router/src/location.ts +++ b/packages/router/src/location.ts @@ -63,6 +63,7 @@ export function parseURL( // keep the ? char searchString = location.slice( searchPos, + // hashPos cannot be 0 because there is a search section in the location hashPos > 0 ? hashPos : location.length ) -- 2.39.5