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, {
|
||||
position: "bottom-left",
|
||||
});
|
||||
// ignore rejection
|
||||
throw e;
|
||||
} finally {
|
||||
// close modal in case it was open
|
||||
web3Modal.closeModal();
|
||||
|
Loading…
Reference in New Issue
Block a user