From 4f151cf453e65ef99344513072f6549328a74cff Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Tue, 27 Jul 2021 13:26:47 +0530 Subject: [PATCH] fix react useeffect to reset --- .../static-analyser/src/lib/remix-ui-static-analyser.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx b/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx index f7c109bdad..2369404a90 100644 --- a/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx +++ b/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') }) return () => { } - }, [props.analysisModule]) + }, [props]) const message = (name, warning, more, fileName, locationString) : string => { return (`