Skip to content

Commit

Permalink
🤘 Updating:
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Oct 7, 2021
1 parent 35b1a71 commit 0bcf915
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vest/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Vest tries to remediate this by separating validation logic from feature logic s
## Example code ([Run in sandbox](https://codesandbox.io/s/vest-react-tutorial-finished-ztt8t?file=/src/validate.js))

```js
import { create, only, test, warn } from 'vest';
import { create, only, test, enforce, warn } from 'vest';

export default create('user_form', (data = {}, currentField) => {
only(currentField);
Expand Down
1 change: 0 additions & 1 deletion packages/vest/docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- [Warn only tests](./warn)
- [Grouping tests](./group)
- [Optional Tests](./optional)
- [Understanding Vest's state](./state)
- Advanced cases
- [Cross Field Validations](./cross_field_validations)
- [Excluding or including tests](./exclusion)
Expand Down

0 comments on commit 0bcf915

Please sign in to comment.