Polish settings and admin system pages

This commit is contained in:
2026-03-28 15:30:21 +01:00
parent 4103f84f85
commit 0694cba722
10 changed files with 604 additions and 217 deletions
@@ -137,8 +137,7 @@ export default function GoogleAuthCard({ onSignedIn }: { onSignedIn?: () => void
onSignedIn?.();
}
} catch (e: any) {
const msg = e?.response?.data || e?.message || t("googleAuthFailed");
toast(String(msg), "error");
toast(getApiErrorMessage(e, t("googleAuthFailed")), "error");
} finally {
setWorking(false);
}
@@ -250,3 +249,10 @@ export default function GoogleAuthCard({ onSignedIn }: { onSignedIn?: () => void
</Paper>
);
}
raphy>
) : null}
</Box>
)}
</Paper>
);
}