Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed May 17, 2024
1 parent e94eb38 commit 607121b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/desktop/components/WalletSummary.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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])
</script>
Expand Down

0 comments on commit 607121b

Please sign in to comment.