Skip to content

Commit a30daaf

Browse files
committed
Suppressing duplicate id warning.
1 parent 8c8eff8 commit a30daaf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/routes/+page.svelte

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@
5555
form: staticform,
5656
errors: staticerrors,
5757
constraints: staticconstraints
58-
} = superForm(data.form);
58+
} = superForm(data.form, {
59+
warnings: {
60+
duplicateId: false
61+
}
62+
});
5963
6064
let updates: string[] = [];
6165
</script>

0 commit comments

Comments
 (0)