reseting error when utoRun is deselected

pull/1262/head
tizah 4 years ago committed by Liana Husikyan
parent eff5c128ac
commit bcc1f84a88
  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