From 64d19bb80c9cb83e39de58fbbda6d63a777b5d79 Mon Sep 17 00:00:00 2001 From: Nikita Date: Mon, 9 Dec 2024 10:56:35 +0400 Subject: [PATCH] fix(aeternity): share wallet info with dapp --- src/composables/aeSdk.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/composables/aeSdk.ts b/src/composables/aeSdk.ts index 343aed73a..c784bda8e 100644 --- a/src/composables/aeSdk.ts +++ b/src/composables/aeSdk.ts @@ -80,7 +80,6 @@ export function useAeSdk() { } = useNetworks(); const { accountsAddressList, - isLoggedIn, getLastActiveProtocolAccount, onAccountChange, } = useAccounts(); @@ -130,10 +129,7 @@ export function useAeSdk() { async function initAeSdk() { isAeSdkUpdating.value = true; - await Promise.all([ - watchUntilTruthy(isLoggedIn), - watchUntilTruthy(areNetworksRestored), - ]); + await watchUntilTruthy(areNetworksRestored); const nodeInstance = await createNodeInstance(aeActiveNetworkSettings.value.nodeUrl);