fix passing text to validation message

This commit is contained in:
Ben Wheeler 2019-06-25 18:14:09 -04:00
parent b12694fc12
commit 42721a3d6f

View file

@ -22,9 +22,7 @@ const FormikInput = ({
{...props} {...props}
/> />
{error && ( {error && (
<ValidationMessage> <ValidationMessage message={error} />
{error}
</ValidationMessage>
)} )}
</div> </div>
); );