Merge branch 'master' into fix-compiler

pull/1407/head
bunsenstraat 3 years ago committed by GitHub
commit 7cd08b8e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -89,7 +89,10 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
dispatch({ type: '', payload: {} })
// Show 'Enable Slither Analysis' checkbox
if (currentWorkspace && currentWorkspace.isLocalhost === true) setShowSlither('visible')
else setShowSlither('hidden')
else {
setShowSlither('hidden')
setSlitherEnabled(false)
}
})
return () => { }
}, [props])

Loading…
Cancel
Save