diff --git a/common/store/configAndTokens.ts b/common/store/configAndTokens.ts index 735ad5f1..ad0ce340 100644 --- a/common/store/configAndTokens.ts +++ b/common/store/configAndTokens.ts @@ -138,7 +138,9 @@ function rehydrateCustomNodes( state: ConfigState['nodes']['customNodes'], networkState: ConfigState['networks'] ) { - const networkExists = (networkId: string) => Object.keys(networkState).includes(networkId); + const networkExists = (networkId: string) => + Object.keys(networkState.customNetworks).includes(networkId) || + Object.keys(networkState.staticNetworks).includes(networkId); const rehydratedCustomNodes = Object.entries(state).reduce( (hydratedNodes, [customNodeId, configToHydrate]) => {