Skip to content

Commit 059b6d6

Browse files
ci: apply automated fixes and generate docs
1 parent 14d8702 commit 059b6d6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/framework/react/guides/reactivity.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,15 @@ The `form.Subscribe` component is best suited when you need to react to somethin
3434
<form.Subscribe
3535
selector={(state) => state.values.firstName}
3636
children={(firstName) => (
37-
<form.Field>{(field) => <input name="lastName" value={field.state.lastName} onChange={field.handleChange}/>}</form.Field>
37+
<form.Field>
38+
{(field) => (
39+
<input
40+
name="lastName"
41+
value={field.state.lastName}
42+
onChange={field.handleChange}
43+
/>
44+
)}
45+
</form.Field>
3846
)}
3947
/>
4048
```

0 commit comments

Comments
 (0)