Commit eff5c128 authored by tizah's avatar tizah Committed by Liana Husikyan

resolve new comment by @Aniket-Engg

parent c4a0fcc4
......@@ -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 (`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment