diff --git a/src/main.ts b/src/main.ts index 03743d1..7b12edf 100644 --- a/src/main.ts +++ b/src/main.ts @@ -209,6 +209,7 @@ export const connect = async ({ wallet: null, connectorData: null, }) + modal.$destroy() } } catch (error) { modal.$set({ layout: Layout.failure })