From 607121bd46e99dc9d2075bbe946d59e86eb89446 Mon Sep 17 00:00:00 2001 From: marc2332 Date: Fri, 17 May 2024 10:35:17 +0200 Subject: [PATCH] fmt --- packages/desktop/components/WalletSummary.svelte | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/desktop/components/WalletSummary.svelte b/packages/desktop/components/WalletSummary.svelte index 16bf8d04574..88c7698a9db 100644 --- a/packages/desktop/components/WalletSummary.svelte +++ b/packages/desktop/components/WalletSummary.svelte @@ -8,10 +8,12 @@ import { selectedWalletAssets } from '@core/wallet' import { activeProfile } from '@core/profile' - $: fomattedNetworkName = $nodeInfoNetworkName ? - $nodeInfoNetworkName.split(' ') - .map((word) => word[0].toUpperCase() + word.substring(1)) - .join(' ') : '' + $: fomattedNetworkName = $nodeInfoNetworkName + ? $nodeInfoNetworkName + .split(' ') + .map((word) => word[0].toUpperCase() + word.substring(1)) + .join(' ') + : '' $: ({ baseCoin, mana } = $selectedWalletAssets[$activeProfile?.network.id])