fix: closes loader when session proposal is rejected (#417)
Co-authored-by: Gancho Radkov <ganchoradkov@gmail.com>
This commit is contained in:
parent
06984232dc
commit
0232654e92
@ -183,7 +183,7 @@ export function ClientContextProvider({
|
|||||||
toast.error((e as Error).message, {
|
toast.error((e as Error).message, {
|
||||||
position: "bottom-left",
|
position: "bottom-left",
|
||||||
});
|
});
|
||||||
// ignore rejection
|
throw e;
|
||||||
} finally {
|
} finally {
|
||||||
// close modal in case it was open
|
// close modal in case it was open
|
||||||
web3Modal.closeModal();
|
web3Modal.closeModal();
|
||||||
|
Loading…
Reference in New Issue
Block a user