Skip to content

Commit

Permalink
fix(commodo): fix a typo in the code example (#29)
Browse files Browse the repository at this point in the history
Fixed a typo in the "Commodo Crash Course" article.
  • Loading branch information
Ashu96 committed Apr 20, 2020
1 parent d457dff commit eda71ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-development/commodo/crash-course.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const Dog = withFields({
age: number({
validate: value => {
if (value && value < 2) {
throw new Error("Your dog is to young.");
throw new Error("Your dog is too young.");
}
}
}),
Expand Down

0 comments on commit eda71ef

Please sign in to comment.