mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
fix(core): set state isLoading to false after email changing is confirmed (#9824)
This commit is contained in:
@@ -40,6 +40,9 @@ export const ConfirmChangeEmail: FC<{
|
||||
}
|
||||
}
|
||||
throw err;
|
||||
})
|
||||
.finally(() => {
|
||||
setIsLoading(false);
|
||||
});
|
||||
})().catch(err => {
|
||||
// TODO(@eyhn): Add error handling
|
||||
|
||||
Reference in New Issue
Block a user