Skip to content

Commit

Permalink
docs: reactivity typo (#1233)
Browse files Browse the repository at this point in the history
Co-authored-by: Corbin Crutchley <[email protected]>
  • Loading branch information
babycourageous and crutchcorn authored Mar 7, 2025
1 parent 1c65b30 commit dfd6a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/framework/react/guides/reactivity.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The `form.Subscribe` component is best suited when you need to react to somethin

```tsx
<form.Subscribe
selector={(state) => state.firstName}
selector={(state) => state.values.firstName}
children={(firstName) => (
<form.Field>{(field) => <input name="lastName" value={field.state.lastName} onChange={field.handleChange}/></form.Field>
)}
Expand Down

0 comments on commit dfd6a68

Please sign in to comment.