Skip to content

Commit 32f923e

Browse files
committed
fix
1 parent 63b2af1 commit 32f923e

File tree

1 file changed

+2
-1
lines changed
  • packages/kit/test/apps/options-2/src/routes/remote

1 file changed

+2
-1
lines changed

packages/kit/test/apps/options-2/src/routes/remote/+page.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
let count = $state(null);
55
let prerendered_result = $state(null);
6+
const form = set_count_form();
67
</script>
78

89
<p id="count">{count}</p>
@@ -12,7 +13,7 @@
1213
<button onclick={async () => (count = await set_count(0))} id="reset-btn">reset</button>
1314

1415
<form
15-
{...set_count_form.enhance(async ({ submit }) => {
16+
{...form.enhance(async ({ submit }) => {
1617
await submit().updates(get_count());
1718
count = await get_count();
1819
})}

0 commit comments

Comments
 (0)