From c324ce985a24fbcef8b642bd3e3aafd2c62e812c Mon Sep 17 00:00:00 2001 From: lianahus Date: Mon, 4 Jul 2022 11:24:27 +0200 Subject: [PATCH] fixed create --- libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx index b02b18d4c6..8744dc6a33 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx +++ b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx @@ -93,7 +93,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => { useEffect(() => { const listener = (event) => { - if (configFilePathInput.current !== event.target) { + if (configFilePathInput.current !== event.target && event.target.innerText !== "Create") { setShowFilePathInput(false) configFilePathInput.current.value = "" return;