Commit ad58e200 authored by Aniket-Engg's avatar Aniket-Engg Committed by Aniket

hide slither button when not localhost workspace

parent 2ff2cb0b
......@@ -89,6 +89,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
dispatch({ type: '', payload: {} })
// Show 'Enable Slither Analysis' checkbox
if (currentWorkspace && currentWorkspace.isLocalhost === true) setShowSlither('visible')
else setShowSlither('hidden')
})
return () => { }
}, [props])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment