diff --git a/packages/desktop/views/dashboard/account-management/AccountManagement.svelte b/packages/desktop/views/dashboard/account-management/AccountManagement.svelte index 02ad93a0bbf..d4371ed3274 100644 --- a/packages/desktop/views/dashboard/account-management/AccountManagement.svelte +++ b/packages/desktop/views/dashboard/account-management/AccountManagement.svelte @@ -4,6 +4,8 @@ import { AccountManagementDetails, AccountManagementList } from '@components' import { AccountOutput, OutputData } from '@iota/sdk/out/types' import { isAccountOutput, isImplicitAccountOutput } from '@core/wallet' + import { Text } from '@ui' + import { localize } from '@core/i18n' $: allAccountOutputs = $selectedWallet?.walletUnspentOutputs?.filter( @@ -11,7 +13,7 @@ ) || [] let selectedOutput = - $selectedWallet.walletUnspentOutputs.find( + $selectedWallet?.walletUnspentOutputs?.find( (output) => (output.output as AccountOutput)?.accountId === $selectedWallet.mainAccountId ) || allAccountOutputs?.[0] @@ -29,18 +31,24 @@ class="w-full h-full flex flex-nowrap p-8 relative flex-1 bg-gray-50 dark:bg-gray-900 space-x-4 justify-center" >