mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
fix passing text to validation message
This commit is contained in:
parent
b12694fc12
commit
42721a3d6f
1 changed files with 1 additions and 3 deletions
|
@ -22,9 +22,7 @@ const FormikInput = ({
|
|||
{...props}
|
||||
/>
|
||||
{error && (
|
||||
<ValidationMessage>
|
||||
{error}
|
||||
</ValidationMessage>
|
||||
<ValidationMessage message={error} />
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue