From d37c7ba917d51d8955f7b3b7f6f09492ea3abe13 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Fri, 20 Dec 2024 18:06:03 +0530 Subject: [PATCH] fix deployment --- libs/remix-ui/run-tab/src/lib/components/environment.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/run-tab/src/lib/components/environment.tsx b/libs/remix-ui/run-tab/src/lib/components/environment.tsx index 61b41d300e..590e9fb3f0 100644 --- a/libs/remix-ui/run-tab/src/lib/components/environment.tsx +++ b/libs/remix-ui/run-tab/src/lib/components/environment.tsx @@ -98,7 +98,7 @@ export function EnvironmentUI(props: EnvironmentProps) { // Reset environment blocks and account data await currentProvider.resetEnvironment() // Remove deployed and pinned contracts from UI - props.runTabPlugin.REACT_API.instances.instanceList = {} + props.runTabPlugin.REACT_API.instances.instanceList = [] // Delete environment state file await props.runTabPlugin.call('fileManager', 'remove', `.states/${context}/state.json`) // If there are pinned contracts, delete pinned contracts folder