fix: disable contact form submit if email is not valid
This commit is contained in:
@@ -186,7 +186,9 @@ Message: ${message}`
|
||||
></textarea>
|
||||
</div>
|
||||
<div className="mb-3">
|
||||
<SolidButton theme="dark">Submit</SolidButton>
|
||||
<SolidButton theme="dark" disabled={emailError}>
|
||||
Submit
|
||||
</SolidButton>
|
||||
</div>
|
||||
</form>
|
||||
{notification && <span>{notification}</span>}
|
||||
|
||||
Reference in New Issue
Block a user