This commit is contained in:
Arthur Belleville 2025-10-31 10:18:29 +01:00
parent 44d0684f18
commit db14f0129a
No known key found for this signature in database

View file

@ -62,9 +62,7 @@ export function UpdatePasswordPage() {
}, 2000);
} catch (err) {
console.error("Password update error:", err);
setError(
err instanceof Error ? err.message : t("updatePassword.error")
);
setError(err instanceof Error ? err.message : t("updatePassword.error"));
toast.add({
title: t("updatePassword.errorTitle"),
description: t("updatePassword.error"),
@ -93,7 +91,9 @@ export function UpdatePasswordPage() {
</div>
</div>
<div className="space-y-2">
<h1 className="text-3xl font-bold text-foreground">{t("updatePassword.successTitle")}</h1>
<h1 className="text-3xl font-bold text-foreground">
{t("updatePassword.successTitle")}
</h1>
<Text className="text-muted-foreground">
{t("updatePassword.successDescription")}
</Text>
@ -118,9 +118,7 @@ export function UpdatePasswordPage() {
>
<div className="space-y-6">
<div className="text-center">
<h1 className="text-3xl font-bold text-foreground mb-2">
{t("updatePassword.title")}
</h1>
<h1 className="text-3xl font-bold text-foreground mb-2">{t("updatePassword.title")}</h1>
<Text className="text-muted-foreground">{t("updatePassword.description")}</Text>
</div>
@ -220,4 +218,3 @@ export function UpdatePasswordPage() {
</div>
);
}