Skip to content

Commit 49bb413

Browse files
committed
Linter fix
1 parent a292322 commit 49bb413

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/routes/(v2)/v2/Navigation.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@
7979
'vine',
8080
'timeproxy',
8181
'tainted-null-random',
82-
'issue-588'
82+
'issue-588',
83+
'customrequest-validate'
8384
].sort();
8485
</script>
8586

src/routes/(v2)/v2/customrequest-validate/+page.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import { zod } from '$lib/adapters/zod.js';
33
import { superForm } from '$lib/index.js';
44
import SuperDebug from '$lib/index.js';
5+
import { SvelteURLSearchParams } from 'svelte/reactivity';
56
import type { PageData } from './$types.js';
67
import { schema } from './schema.js';
78
@@ -12,7 +13,7 @@
1213
validators: zod(schema),
1314
onSubmit({ customRequest }) {
1415
return customRequest(async (input) => {
15-
const formEntriesUrlEncoded = new URLSearchParams();
16+
const formEntriesUrlEncoded = new SvelteURLSearchParams();
1617
for (const [key, value] of input.formData.entries()) {
1718
if (typeof value === 'string') {
1819
formEntriesUrlEncoded.append(key, value);

0 commit comments

Comments
 (0)