Skip to content

Commit b3c79b8

Browse files
authored
Fix error component subscription prop
1 parent 92cd23e commit b3c79b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/wizard/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const onSubmit = async values => {
1515
const Error = ({ name }) => (
1616
<Field
1717
name={name}
18-
subscribe={{ touched: true, error: true }}
18+
subscription={{ touched: true, error: true }}
1919
render={({ meta: { touched, error } }) =>
2020
touched && error ? <span>{error}</span> : null
2121
}

0 commit comments

Comments
 (0)