diff --git a/libs/remix-ui/run-tab/src/lib/actions/events.ts b/libs/remix-ui/run-tab/src/lib/actions/events.ts index 2fa196485c..ed686bb887 100644 --- a/libs/remix-ui/run-tab/src/lib/actions/events.ts +++ b/libs/remix-ui/run-tab/src/lib/actions/events.ts @@ -24,7 +24,7 @@ export const setupEvents = (plugin: RunTab, dispatch: React.Dispatch) => { plugin.blockchain.event.register('contextChanged', (context, silent) => { dispatch(resetProxyDeployments()) - if (context !== 'vm') getNetworkProxyAddresses(plugin, dispatch) + if (!context.startsWith('vm')) getNetworkProxyAddresses(plugin, dispatch) setFinalContext(plugin, dispatch) })