From 8fc012ee9c1a9b89b8b22fe00d352d22b60c6455 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 18 Oct 2025 01:28:29 +0000 Subject: [PATCH] Prettier format pending files --- client/pages/ResetPassword.tsx | 40 +++++++++++++++++++++++++++------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/client/pages/ResetPassword.tsx b/client/pages/ResetPassword.tsx index 4ff71bfc..4d32b32d 100644 --- a/client/pages/ResetPassword.tsx +++ b/client/pages/ResetPassword.tsx @@ -25,13 +25,20 @@ export default function ResetPassword() { const [resetEmail, setResetEmail] = useState(""); const navigate = useNavigate(); const { updatePassword, requestPasswordReset } = useAuth(); - const { error: toastError, success: toastSuccess, info: toastInfo } = useAethexToast(); + const { + error: toastError, + success: toastSuccess, + info: toastInfo, + } = useAethexToast(); useEffect(() => { let mounted = true; (async () => { try { - const hash = typeof window !== "undefined" ? window.location.hash.replace(/^#/, "") : ""; + const hash = + typeof window !== "undefined" + ? window.location.hash.replace(/^#/, "") + : ""; const params = new URLSearchParams(hash); const urlError = params.get("error"); const urlErrorDesc = params.get("error_description"); @@ -111,14 +118,19 @@ export default function ResetPassword() { {linkError ? ( - Reset link expired + + Reset link expired + - {linkError || "The link is invalid or has expired. Request a new reset link."} + {linkError || + "The link is invalid or has expired. Request a new reset link."}
- +
- +
-