fix: disable contact form submit if email is not valid

This commit is contained in:
s
2025-12-13 18:57:28 +01:00
parent 85d7f4c61c
commit 4a30ce77db

View File

@@ -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>}