Skip to content

Commit dfd6a68

Browse files
docs: reactivity typo (#1233)
Co-authored-by: Corbin Crutchley <[email protected]>
1 parent 1c65b30 commit dfd6a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/framework/react/guides/reactivity.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The `form.Subscribe` component is best suited when you need to react to somethin
3232

3333
```tsx
3434
<form.Subscribe
35-
selector={(state) => state.firstName}
35+
selector={(state) => state.values.firstName}
3636
children={(firstName) => (
3737
<form.Field>{(field) => <input name="lastName" value={field.state.lastName} onChange={field.handleChange}/></form.Field>
3838
)}

0 commit comments

Comments
 (0)