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/index.ts b/packages/desktop/views/dashboard/drawers/network-config/views/index.ts index fe9a6d89b0..560e388729 100644 --- a/packages/desktop/views/dashboard/drawers/network-config/views/index.ts +++ b/packages/desktop/views/dashboard/drawers/network-config/views/index.ts @@ -3,7 +3,6 @@ export { default as ChainDepositAddressDrawer } from './ChainDepositAddressDrawe export { default as ChainInformationDrawer } from './ChainInformationDrawer.svelte' export { default as ConfirmLedgerEvmAddressDrawer } from './ConfirmLedgerEvmAddressDrawer.svelte' export { default as ConnectedChainsDrawer } from './ConnectedChainsDrawer.svelte' -export { default as ConnectLedgerDeviceDrawer } from './ConnectLedgerDeviceDrawer.svelte' export { default as EditChainDrawer } from './EditChainDrawer.svelte' export { default as NetworkSettingsDrawer } from './NetworkSettingsDrawer.svelte' export { default as RemoveChainDrawer } from './RemoveChainDrawer.svelte'