format
This commit is contained in:
parent
44d0684f18
commit
db14f0129a
1 changed files with 5 additions and 8 deletions
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue