This commit is contained in:
Jesus Vasquez 2024-03-04 23:33:49 -05:00
parent fadaa0fe4a
commit 1e0594a488
11 changed files with 145 additions and 99 deletions

View file

@ -2,7 +2,7 @@ import React from "react"
const ErrorMessage = ({ touched, error }: { touched: boolean; error?: string }) => {
if (touched && error) {
return <p className="text-xs">{error}</p>
return <p className="text-xs text-red-500">{error}</p>
}
return null
}