Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AmmarHalees committed Dec 22, 2023
1 parent 901cf6b commit 7ac20ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const firstNameRules = {
};

// recieve an array of errors
const errors = validateField('Ammar', 'firstName', rulesObject);
const errors = validateField('Ammar', 'firstName', firstNameRules);

```

Expand Down

0 comments on commit 7ac20ee

Please sign in to comment.