Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebill1049 committed Feb 1, 2025
1 parent 9b1f5ea commit 84c3d46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/content/docs/createFormControl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ This function create the entire form state subscription and allow you to subscri
const props = createFormControl()

{" "}

<FormProvider {...props} /> // ❌ You don't need provider

<input {...props.register('name')} /> // ✅ Direct use method from createFormControl
Expand Down

0 comments on commit 84c3d46

Please sign in to comment.