Remove pairing from url params
This commit is contained in:
parent
b9851c587e
commit
e6cf1c3658
@ -178,19 +178,6 @@ export async function init(): Promise<void> {
|
||||
if (services.isPaired()) {
|
||||
await navigate('account');
|
||||
} else {
|
||||
const pairingAddress = urlParams.get('sp_address');
|
||||
if (pairingAddress) {
|
||||
setTimeout(async () => {
|
||||
try {
|
||||
// check if we have a shared secret with that address
|
||||
await prepareAndSendPairingTx();
|
||||
} catch (e) {
|
||||
console.error('Failed to pair:', e);
|
||||
}
|
||||
await navigate('account');
|
||||
}, 2000);
|
||||
}
|
||||
console.log('here');
|
||||
await navigate('home');
|
||||
}
|
||||
} catch (error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user