Skip to content

Commit

Permalink
doc: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 28, 2023
1 parent 599da77 commit 34f05f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function Example() {
const [data, setData] = useState({
email: '[email protected]'
});
const validator = useValidator({
const { validator } = useValidator({
initValues: { ...data },
});
return (
Expand Down

0 comments on commit 34f05f7

Please sign in to comment.