updated event trigger in static analyser to not show a badge when autorun is not selected

pull/1262/head
tizah 4 years ago committed by Liana Husikyan
parent bcc1f84a88
commit ff539d4837
  1. 3
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -71,6 +71,9 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
if (state.data !== null) {
run(state.data, state.source, state.file)
}
} else {
props.event.trigger('staticAnaysisWarning', [])
}
return () => { }
}, [state])

Loading…
Cancel
Save