Skip to content

Commit a1e2a4d

Browse files
committed
fix: add missing persist when removing params
1 parent dd7f50f commit a1e2a4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/lib/create-params.svelte.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ export function createUseQueryParams<TShape extends QuerySchema>(
125125

126126
remove(...params) {
127127
params.map((param) => searchParams.delete(param as string));
128+
persistParams();
128129
},
129130

130131
unsubscribe() {

0 commit comments

Comments
 (0)