We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 057f359 commit 58e82efCopy full SHA for 58e82ef
libs/remix-ui/solidity-compiler/src/lib/solidity-compiler.tsx
@@ -280,8 +280,8 @@ export const SolidityCompiler = (props: SolidityCompilerProps) => {
280
setConfigFilePath={setConfigFilePath}
281
solJsonBinData={state.solJsonBinData}
282
/>
283
-
284
- {contractsFile[currentFile] && contractsFile[currentFile].contractsDetails && (
+ {/* "compileErrors[currentFile]['contracts']" field will not be there in case of compilation errors */}
+ {contractsFile[currentFile] && contractsFile[currentFile].contractsDetails && compileErrors[currentFile]['contracts'] && (
285
<ContractSelection
286
api={api}
287
compiledFileName={currentFile}
0 commit comments