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

@@ -35,8 +35,9 @@ export default function LoginForm() {
router.push(next);
router.refresh();
} catch (e: any) {
setErr(e?.message || t("login.error.network"));
} catch (e: unknown) {
const message = e instanceof Error ? e.message : null;
setErr(message || t("login.error.network"));
} finally {
setLoading(false);
}