fix(core): set state isLoading to false after email changing is confirmed (#9824)
This commit is contained in:
1 parent
29995e498a
commit
2db9cc3922
1 file changed
+3
@@ -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