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 26a526e510..1dae804ee3 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx +++ b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx @@ -71,7 +71,10 @@ export const CompilerContainer = (props: CompilerContainerProps) => { api.setAppParameter('configFilePath', defaultPath) if (state.useFileConfiguration) { api.fileExists(defaultPath).then((exists) => { - if (!exists && state.useFileConfiguration) createNewConfigFile() + if (!exists && state.useFileConfiguration) { + configFilePathInput.current.value = defaultPath + createNewConfigFile() + } }) } setShowFilePathInput(false)