From 37ff1d75feec08fcfcef104dfe037845e62b387f Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Wed, 28 Jun 2023 23:04:40 +0100 Subject: [PATCH] fix point 6 --- .../static-analyser/src/lib/remix-ui-static-analyser.tsx | 4 +++- 1 file changed, 3 insertions(+), 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 58a6f6ee01..79ef56c5df 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 @@ -409,7 +409,6 @@ useEffect(() => { const handleBasicEnabled = () => { if (basicEnabled) { - console.log('remix is: ', { basicEnabled }) setBasicEnabled(false) if (solhintEnabled) { setSelectedTab('solhint') @@ -424,6 +423,9 @@ useEffect(() => { const handleLinterEnabled = () => { if (solhintEnabled) { setSolhintEnabled(false) + if (basicEnabled) { + setSelectedTab('remix') + } props.event.trigger('staticAnalysisWarning', [-1]) } else { setSolhintEnabled(true)