From 23a5349da9a527f79c92a0a9b808df2beb3314a0 Mon Sep 17 00:00:00 2001 From: evavirseda Date: Tue, 2 Apr 2024 11:04:32 +0200 Subject: [PATCH] fix: cleanup --- packages/desktop/views/dashboard/Sidebar.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/desktop/views/dashboard/Sidebar.svelte b/packages/desktop/views/dashboard/Sidebar.svelte index 34d8a5516b8..14b926a68ec 100644 --- a/packages/desktop/views/dashboard/Sidebar.svelte +++ b/packages/desktop/views/dashboard/Sidebar.svelte @@ -38,7 +38,7 @@ label: localize('tabs.collectibles'), route: DashboardRoute.Collectibles, onClick: openCollectibles, - disabled: Boolean(!$selectedWallet?.mainAccountId), + disabled: !$selectedWallet?.mainAccountId, }, ] : []), @@ -49,7 +49,7 @@ label: localize('tabs.governance'), route: DashboardRoute.Governance, onClick: openGovernance, - disabled: Boolean(!$selectedWallet?.mainAccountId), + disabled: !$selectedWallet?.mainAccountId, }, ] : []), @@ -60,7 +60,7 @@ label: localize('tabs.vesting'), route: DashboardRoute.Vesting, onClick: openVesting, - disabled: Boolean(!$selectedWallet?.mainAccountId), + disabled: !$selectedWallet?.mainAccountId, }, ] : []), @@ -82,7 +82,7 @@ label: localize('tabs.delegation'), route: DashboardRoute.Delegation, onClick: openDelegation, - disabled: Boolean(!$selectedWallet?.mainAccountId), + disabled: !$selectedWallet?.mainAccountId, }, ] : []), @@ -93,7 +93,7 @@ label: localize('tabs.developer'), route: DashboardRoute.Developer, onClick: openDeveloper, - disabled: Boolean(!$selectedWallet?.mainAccountId), + disabled: !$selectedWallet?.mainAccountId, }, ] : []),