Skip to content

Commit

Permalink
Disable window termination on Provider
Browse files Browse the repository at this point in the history
  • Loading branch information
KaffinPX committed Sep 16, 2024
1 parent 83d1a60 commit ca584a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/pages/Wallet/Send/Submit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export default function Submit ({ transactions, onSubmitted }: {
setIds(ids)
onSubmitted()
}).catch((err) => {
console.log(err)
currentTarget.disabled = false
})
}}>
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/messaging/wallet/provider/windows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default class Windows {

browser.windows.onFocusChanged.addListener((windowId) => {
for (const id of this.windows.keys()) {
if (windowId !== id) browser.windows.remove(id)
// if (windowId !== id) browser.windows.remove(id)
}
})
}
Expand Down

0 comments on commit ca584a6

Please sign in to comment.