|
|
|
@ -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]) |
|
|
|
|