Skip to content

Commit 1af0d4b

Browse files
committed
fix: Do not add quotes to search params
1 parent afb4b24 commit 1af0d4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/router-core/src/searchParams.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ export function stringifySearchWith(
7575
try {
7676
// Check if it's a valid parseable string.
7777
// If it is, then stringify it again.
78-
parser(val)
79-
return stringify(val)
78+
const parsed = parser(val)
79+
return stringify(parsed)
8080
} catch (_err) {
8181
// silent
8282
}

0 commit comments

Comments
 (0)