Remove pairing from url params

This commit is contained in:
NicolasCantu 2025-04-04 12:51:12 +02:00
parent b9851c587e
commit e6cf1c3658

View File

@ -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) {