diff --git a/packages/desktop/views/dashboard/drawers/dapp-config/components/DappCard.svelte b/packages/desktop/views/dashboard/drawers/dapp-config/components/DappCard.svelte index b4029e2056..80dbd5a224 100644 --- a/packages/desktop/views/dashboard/drawers/dapp-config/components/DappCard.svelte +++ b/packages/desktop/views/dashboard/drawers/dapp-config/components/DappCard.svelte @@ -7,7 +7,7 @@ import { localize } from '@core/i18n' export let dapp: IConnectedDapp - export let classes: string = '' + export let disabled: boolean = false export let onClick: (() => unknown) | undefined = undefined $: networkIds = Object.values( @@ -16,7 +16,8 @@
diff --git a/packages/desktop/views/dashboard/drawers/dapp-config/views/ConnectedDappsDrawer.svelte b/packages/desktop/views/dashboard/drawers/dapp-config/views/ConnectedDappsDrawer.svelte index 5e7b39d8ae..43d2567222 100644 --- a/packages/desktop/views/dashboard/drawers/dapp-config/views/ConnectedDappsDrawer.svelte +++ b/packages/desktop/views/dashboard/drawers/dapp-config/views/ConnectedDappsDrawer.svelte @@ -57,11 +57,7 @@ {#if displayedDapps.length}
{#each displayedDapps as dapp} - onDappCardClick(dapp)} - classes={selectedIndex === 1 ? 'opacity-50' : ''} - /> + onDappCardClick(dapp)} /> {/each}
{:else} diff --git a/packages/shared/src/components/tiles/ClickableTile.svelte b/packages/shared/src/components/tiles/ClickableTile.svelte index 8ea892e09c..761e475480 100644 --- a/packages/shared/src/components/tiles/ClickableTile.svelte +++ b/packages/shared/src/components/tiles/ClickableTile.svelte @@ -9,11 +9,11 @@ !disabled && onClick?.()} >