Skip to content

Commit 5de384a

Browse files
committed
fix confgi file overriding
1 parent 9ce8cab commit 5de384a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
259259
if (state.useFileConfiguration)
260260
if (state.createFileOnce) {
261261
api.fileExists(defaultPath).then((exists) => {
262-
if (!exists || state.useFileConfiguration) createNewConfigFile()
262+
if (!exists) createNewConfigFile()
263263
})
264264
setState((prevState) => {
265265
return { ...prevState, createFileOnce: false }

0 commit comments

Comments
 (0)