Skip to content

Commit

Permalink
fix form docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ieedan committed Jan 18, 2025
1 parent 8acd473 commit 2b00a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites/docs/src/content/components/form.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ We'll pass the `form` from the data returned from the load function to the form
let { data }: { data: PageData } = $props();
</script>
<SettingsForm data={data.form} />
<SettingsForm {data} />
```

### Create an Action that handles the form submission
Expand Down

0 comments on commit 2b00a1f

Please sign in to comment.