fix react useeffect to reset

pull/1404/head
Aniket-Engg 3 years ago
parent 5ab0c821de
commit 4f151cf453
  1. 2
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -91,7 +91,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
if (currentWorkspace && currentWorkspace.isLocalhost === true) setShowSlither('visible') if (currentWorkspace && currentWorkspace.isLocalhost === true) setShowSlither('visible')
}) })
return () => { } return () => { }
}, [props.analysisModule]) }, [props])
const message = (name, warning, more, fileName, locationString) : string => { const message = (name, warning, more, fileName, locationString) : string => {
return (` return (`

Loading…
Cancel
Save