diff --git a/packages/desktop/views/dashboard/drawers/network-config/NetworkConfigRouterView.svelte b/packages/desktop/views/dashboard/drawers/network-config/NetworkConfigRouterView.svelte index 0a83f314eb..fb2e3ed6d3 100644 --- a/packages/desktop/views/dashboard/drawers/network-config/NetworkConfigRouterView.svelte +++ b/packages/desktop/views/dashboard/drawers/network-config/NetworkConfigRouterView.svelte @@ -8,7 +8,6 @@ ChainInformationDrawer, ConfirmLedgerEvmAddressDrawer, ConnectedChainsDrawer, - ConnectLedgerDeviceDrawer, EditChainDrawer, NetworkSettingsDrawer, RemoveChainDrawer, @@ -48,8 +47,6 @@ {:else if $networkConfigRoute === NetworkConfigRoute.ChainDepositAddress} -{:else if $networkConfigRoute === NetworkConfigRoute.ConnectLedgerDevice} - {:else if $networkConfigRoute === NetworkConfigRoute.ConfirmLedgerEvmAddress} {:else if $networkConfigRoute === NetworkConfigRoute.AddChain} diff --git a/packages/desktop/views/dashboard/drawers/network-config/network-config-route.enum.ts b/packages/desktop/views/dashboard/drawers/network-config/network-config-route.enum.ts index 79a8426e15..31d9fcf02c 100644 --- a/packages/desktop/views/dashboard/drawers/network-config/network-config-route.enum.ts +++ b/packages/desktop/views/dashboard/drawers/network-config/network-config-route.enum.ts @@ -5,7 +5,6 @@ export enum NetworkConfigRoute { NetworkSettings = 'networkSettings', ConfirmLedgerEvmAddress = 'confirmLedgerEvmAddress', ConnectedChains = 'connectedChains', - ConnectLedgerDevice = 'connectLedgerDevice', EditChain = 'editChain', RemoveChain = 'removeChain', } diff --git a/packages/desktop/views/dashboard/drawers/network-config/network-config.router.ts b/packages/desktop/views/dashboard/drawers/network-config/network-config.router.ts index f643bfe9d9..83d1d0de88 100644 --- a/packages/desktop/views/dashboard/drawers/network-config/network-config.router.ts +++ b/packages/desktop/views/dashboard/drawers/network-config/network-config.router.ts @@ -1,4 +1,4 @@ -import { get, writable } from 'svelte/store' +import { writable } from 'svelte/store' import { Router } from '@core/router' import { NetworkConfigRoute } from './network-config-route.enum' @@ -9,11 +9,4 @@ export class NetworkConfigRouter extends Router { constructor(initialRoute = NetworkConfigRoute.ConnectedChains) { super(initialRoute, networkConfigRoute) } - - previous(): void { - if (get(this.routeStore) === NetworkConfigRoute.ConfirmLedgerEvmAddress) { - this.filterHistory(NetworkConfigRoute.ConnectLedgerDevice) - } - super.previous() - } } diff --git a/packages/desktop/views/dashboard/drawers/network-config/views/ConnectLedgerDeviceDrawer.svelte b/packages/desktop/views/dashboard/drawers/network-config/views/ConnectLedgerDeviceDrawer.svelte deleted file mode 100644 index 9a891528ee..0000000000 --- a/packages/desktop/views/dashboard/drawers/network-config/views/ConnectLedgerDeviceDrawer.svelte +++ /dev/null @@ -1,62 +0,0 @@ - - - - -
- - {localize(`${LOCALE_BASE_PATH}.header`)} - {localize(`${LOCALE_BASE_PATH}.body`)} - - {#each requirements as [bool, locale], idx} -
- - {localize(`${LOCALE_BASE_PATH}.requirements.${locale}`)} -
- {#if idx < requirements.length - 1} -
- {/if} - {/each} -
-
-
- -