fix react useeffect to reset

pull/5370/head
Aniket-Engg 3 years ago
parent 7be4409687
commit e8e5952d88
  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