Skip to content

Commit

Permalink
[docs] Fix typo (#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigopalheiro committed Aug 17, 2022
1 parent 7eeb278 commit d478cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/docs/form/use-form.mdx
Expand Up @@ -88,7 +88,7 @@ function NameInput({ form }: { form: UseFormReturnType<FormValues> }) {
}

function OccupationInput({ form }: { form: UseFormReturnType<FormValues> }) {
return <TextInput {...form.getInputProps('name')} />;
return <TextInput {...form.getInputProps('occupation')} />;
}

function Demo() {
Expand Down

0 comments on commit d478cb5

Please sign in to comment.