Skip to content

Commit

Permalink
fix: logical error, destroy modal if resultType !== "wallet"
Browse files Browse the repository at this point in the history
  • Loading branch information
Cussone committed Nov 1, 2024
1 parent 96c06e1 commit 3c71667
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ export const connect = async ({
wallet: null,
connectorData: null,
})
modal.$destroy()
}
} catch (error) {
modal.$set({ layout: Layout.failure })
Expand Down

0 comments on commit 3c71667

Please sign in to comment.