fix alby connection

This commit is contained in:
Ren Amamiya
2023-09-11 07:52:43 +07:00
parent 5bf816eba2
commit 602d012efe
3 changed files with 17 additions and 10 deletions

View File

@@ -58,9 +58,6 @@ export function UnlockScreen() {
const privkey = await db.secureLoad(db.account.pubkey);
const uri = await db.secureLoad('walletConnectURL', 'alby');
console.log('found privkey: ', privkey);
console.log('found wallet conenct url: ', uri);
if (privkey) setPrivkey(privkey);
if (uri) setWalletConnectURL(uri);
// redirect to home