Skip to content

Commit

Permalink
fix: do not throw in UI handled cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Cussone committed Feb 18, 2025
1 parent 51996e8 commit f9a255c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,9 @@ export const connect = async ({
[Layout.connecting, Layout.qrCode].includes(modal.getLayout())
) {
modal.$set({ layout: Layout.failure })
} else {
reject(error)
}
reject(error)
}
},
theme: modalTheme === "system" ? null : (modalTheme ?? null),
Expand Down

0 comments on commit f9a255c

Please sign in to comment.