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