From db14f0129a5864197acb4239e442cf798c2ee2a0 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Fri, 31 Oct 2025 10:18:29 +0100 Subject: [PATCH] format --- apps/main/src/pages/update-password.tsx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/apps/main/src/pages/update-password.tsx b/apps/main/src/pages/update-password.tsx index 2ba0c80..797f035 100644 --- a/apps/main/src/pages/update-password.tsx +++ b/apps/main/src/pages/update-password.tsx @@ -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() {
-

{t("updatePassword.successTitle")}

+

+ {t("updatePassword.successTitle")} +

{t("updatePassword.successDescription")} @@ -118,9 +118,7 @@ export function UpdatePasswordPage() { >
-

- {t("updatePassword.title")} -

+

{t("updatePassword.title")}

{t("updatePassword.description")}
@@ -220,4 +218,3 @@ export function UpdatePasswordPage() {
); } -