Mobile friendly, lint correction, typescript error clear

This commit is contained in:
Marcelo
2026-01-16 22:39:16 +00:00
parent 0f88207f3f
commit c183dda383
58 changed files with 7199 additions and 2714 deletions

View File

@@ -34,8 +34,9 @@ export default function SignupForm() {
setVerificationSent(true);
setEmailSent(data.emailSent !== false);
} catch (e: any) {
setErr(e?.message || t("signup.error.network"));
} catch (e: unknown) {
const message = e instanceof Error ? e.message : null;
setErr(message || t("signup.error.network"));
} finally {
setLoading(false);
}