add dep in useeffect

pull/3281/head
Aniket-Engg 2 years ago committed by Aniket
parent edd495d789
commit ff8e42636f
  1. 2
      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 const hide = await api.getAppParameter('hideWarnings') as boolean || false
setHideWarnings(hide) setHideWarnings(hide)
})() })()
}) }, [compileErrors])
useEffect(() => { useEffect(() => {
if (badgeStatus[currentFile]) { if (badgeStatus[currentFile]) {

Loading…
Cancel
Save