fix(core): set state isLoading to false after email changing is confirmed (#9824)

This commit is contained in:
Xun Sun
2025-01-22 09:47:23 +08:00
committed by GitHub
parent 29995e498a
commit 2db9cc3922
@@ -40,6 +40,9 @@ export const ConfirmChangeEmail: FC<{
} }
} }
throw err; throw err;
})
.finally(() => {
setIsLoading(false);
}); });
})().catch(err => { })().catch(err => {
// TODO(@eyhn): Add error handling // TODO(@eyhn): Add error handling