Reverse comment out of url scanning for sp_address
This commit is contained in:
parent
1f4153619a
commit
2a300385a6
12
src/index.ts
12
src/index.ts
@ -15,13 +15,13 @@ document.addEventListener('DOMContentLoaded', async () => {
|
|||||||
await services.restoreProcesses();
|
await services.restoreProcesses();
|
||||||
await services.restoreMessages();
|
await services.restoreMessages();
|
||||||
|
|
||||||
// const queryString = window.location.search;
|
const queryString = window.location.search;
|
||||||
// const urlParams = new URLSearchParams(queryString)
|
const urlParams = new URLSearchParams(queryString)
|
||||||
// const pairingAddress = urlParams.get('sp_address')
|
const pairingAddress = urlParams.get('sp_address')
|
||||||
|
|
||||||
// if(pairingAddress) {
|
if(pairingAddress) {
|
||||||
// await services.sendPairingTx(pairingAddress)
|
await services.sendPairingTx(pairingAddress)
|
||||||
// }
|
}
|
||||||
|
|
||||||
}, 500);
|
}, 500);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user