Skip to content

Commit a99625e

Browse files
committed
fix #987
1 parent fba3e11 commit a99625e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content/docs/usewatch.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ function Child({ control }) {
123123

124124
function App() {
125125
const { register, control } = useForm({
126-
firstName: "test",
126+
defaultValues: {
127+
firstName: "test",
128+
}
127129
})
128130

129131
return (

0 commit comments

Comments
 (0)