diff --git a/libs/remix-ui/solidity-compiler/src/lib/solidity-compiler.tsx b/libs/remix-ui/solidity-compiler/src/lib/solidity-compiler.tsx index 411ccfa9d6..328797acf3 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/solidity-compiler.tsx +++ b/libs/remix-ui/solidity-compiler/src/lib/solidity-compiler.tsx @@ -43,7 +43,7 @@ export const SolidityCompiler = (props: SolidityCompilerProps) => { const hide = await api.getAppParameter('hideWarnings') as boolean || false setHideWarnings(hide) })() - }) + }, [compileErrors]) useEffect(() => { if (badgeStatus[currentFile]) {