We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dcfd42 commit e76d256Copy full SHA for e76d256
packages/router/src/location.ts
@@ -63,6 +63,7 @@ export function parseURL(
63
// keep the ? char
64
searchString = location.slice(
65
searchPos,
66
+ // hashPos cannot be 0 because there is a search section in the location
67
hashPos > 0 ? hashPos : location.length
68
)
69
0 commit comments