feat: add reset button for failed email verification status

Add a reset button to the email verification failed status display, allowing users
to retry email verification after a failure. The button appears alongside the error
message and icon for easy access.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Knee Cola
2025-12-30 17:44:06 +01:00
parent 3e769d30f9
commit 63b575e07a

View File

@@ -392,6 +392,7 @@ export const LocationEditForm: FC<LocationEditFormProps> = ({ location, yearMont
<> <>
<XCircleIcon className="h-5 w-5 text-error" /> <XCircleIcon className="h-5 w-5 text-error" />
<span className="text-sm text-error">{t("email-status.verification-failed")}</span> <span className="text-sm text-error">{t("email-status.verification-failed")}</span>
<button className="btn btn-neutral min-h-0 h-[1.5rem]" onClick={ handleResetEmailStatus }>{t("email-status.reset-button-label")}</button>
</> </>
)} )}
{location?.tenantEmailStatus === EmailStatus.Verified && ( {location?.tenantEmailStatus === EmailStatus.Verified && (