From 47af0f4038d25d384e4eb067a0d5fc30f3ff5611 Mon Sep 17 00:00:00 2001 From: Clemens Tolboom Date: Fri, 17 May 2019 14:18:28 +0200 Subject: [PATCH] Fixed typo (#1518) --- docs/api/fieldarray.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/fieldarray.md b/docs/api/fieldarray.md index 42123e612..f89043375 100644 --- a/docs/api/fieldarray.md +++ b/docs/api/fieldarray.md @@ -131,7 +131,7 @@ const schema = Yup.object().shape({ Since Yup and your custom validation function should always output error messages as strings, you'll need to sniff whether your nested error is an array or a string when you go to display it. -So...to display `'Must have friends'` and `'Minimum of 3 friends'` (our example's array validation contstraints)... +So...to display `'Must have friends'` and `'Minimum of 3 friends'` (our example's array validation constraints)... **_Bad_**