Merge pull request #1404 from ethereum/ssaEffectFix

fix react useeffect to reset analysis plugin on workspace change after reactivation
pull/5370/head
bunsenstraat 3 years ago committed by GitHub
commit 9f0b0d4649
  1. 2
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -91,7 +91,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
if (currentWorkspace && currentWorkspace.isLocalhost === true) setShowSlither('visible')
})
return () => { }
}, [props.analysisModule])
}, [props])
const message = (name, warning, more, fileName, locationString) : string => {
return (`

Loading…
Cancel
Save