resolve new comment by @Aniket-Engg

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

@ -67,12 +67,13 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
useEffect(() => {
if (autoRun) {
setWarningState([])
if (state.data !== null) {
run(state.data, state.source, state.file)
}
}
return () => { }
}, [autoRun, state])
}, [state])
const message = (name, warning, more, fileName, locationString) : string => {
return (`

Loading…
Cancel
Save