From a59514650343bfe7404ac8ba6e7e6455e9c81168 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 17 Jun 2024 10:59:09 +0200 Subject: [PATCH] fix updating compilation result upon finished compilation --- libs/remix-ui/run-tab/src/lib/actions/events.ts | 1 + 1 file changed, 1 insertion(+) 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 147ae3870a..b5b4037eb2 100644 --- a/libs/remix-ui/run-tab/src/lib/actions/events.ts +++ b/libs/remix-ui/run-tab/src/lib/actions/events.ts @@ -249,6 +249,7 @@ const broadcastCompilationResult = async (compilerName: string, plugin: RunTab, dispatch(addDeployOption({ [file]: {} })) } dispatch(fetchContractListSuccess({ [file]: contracts })) + dispatch(setCurrentFile(file)) // TODO: set current contract }