reseting error when utoRun is deselected

pull/5370/head
tizah 4 years ago committed by Liana Husikyan
parent 25e7ae2b28
commit 2ee0f8ae95
  1. 2
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -66,8 +66,8 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
}, [])
useEffect(() => {
setWarningState([])
if (autoRun) {
setWarningState([])
if (state.data !== null) {
run(state.data, state.source, state.file)
}

Loading…
Cancel
Save