Skip to content

Commit

Permalink
fix a mistyped word on last example (#7776)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmor-j authored and dcousens committed Aug 22, 2022
1 parent 5cb7726 commit c9e7d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/docs/guides/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export default config({
fields: {
name: text(),
email: text({
db: { isRequired: true },
validation: { isRequired: true },
hooks: {
validateInput: ({ addValidationError, resolvedData, fieldKey }) => {
const email = resolvedData[fieldKey];
Expand Down

0 comments on commit c9e7d31

Please sign in to comment.