From a4256db687a07ed08a903f6b341c0c6b896e6a2b Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Mon, 10 Apr 2023 23:19:38 +0100 Subject: [PATCH] Update password page --- src/components/Setting/SettingSidebar.astro | 2 +- src/components/Setting/UpdatePasswordForm.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Setting/SettingSidebar.astro b/src/components/Setting/SettingSidebar.astro index f07e3d1fb..56ada34b9 100644 --- a/src/components/Setting/SettingSidebar.astro +++ b/src/components/Setting/SettingSidebar.astro @@ -25,7 +25,7 @@ export interface Props { Change passwordChange Password diff --git a/src/components/Setting/UpdatePasswordForm.tsx b/src/components/Setting/UpdatePasswordForm.tsx index fe741baa9..71513322d 100644 --- a/src/components/Setting/UpdatePasswordForm.tsx +++ b/src/components/Setting/UpdatePasswordForm.tsx @@ -13,7 +13,7 @@ export default function UpdatePasswordForm() { const [error, setError] = useState(''); const [success, setSuccess] = useState(''); - const [isLoading, setIsLoading] = useState(false); + const [isLoading, setIsLoading] = useState(true); const handleSubmit = async (e: Event) => { e.preventDefault(); @@ -88,7 +88,7 @@ export default function UpdatePasswordForm() { return (

Password

-

Manage settings for your account passwords

+

Use the form below to update your password.

{authProvider === 'email' && (