Skip to content

Commit

Permalink
fix: removes useless spy id from connection
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodressel committed May 8, 2024
1 parent aa65c52 commit 8063adc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/ConnectWalletModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@ export default {
this.addDefaultWallet();
} else {
this.scanningForWallets = true;
const scannerConnection = new BrowserWindowMessageConnection({
connectionInfo: { id: 'spy' },
});
let stopScan = null;
Expand All @@ -156,6 +153,7 @@ export default {
this.scanningForWallets = false;
};
const scannerConnection = new BrowserWindowMessageConnection();
stopScan = walletDetector(scannerConnection, handleWallet);
}
},
Expand Down

0 comments on commit 8063adc

Please sign in to comment.