Skip to content

Commit e76d256

Browse files
committed
chore: comment
[skip ci]
1 parent 9dcfd42 commit e76d256

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/router/src/location.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export function parseURL(
6363
// keep the ? char
6464
searchString = location.slice(
6565
searchPos,
66+
// hashPos cannot be 0 because there is a search section in the location
6667
hashPos > 0 ? hashPos : location.length
6768
)
6869

0 commit comments

Comments
 (0)