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 (