mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-23 20:18:42 +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;
|
throw err;
|
||||||
|
})
|
||||||
|
.finally(() => {
|
||||||
|
setIsLoading(false);
|
||||||
});
|
});
|
||||||
})().catch(err => {
|
})().catch(err => {
|
||||||
// TODO(@eyhn): Add error handling
|
// TODO(@eyhn): Add error handling
|
||||||
|
|||||||
Reference in New Issue
Block a user