linter & slither checkbox tooltip updates

pull/5370/head
Joseph Izang 1 year ago
parent 58ba58a33c
commit 3ff2b4429c
  1. 8
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -633,7 +633,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
<RemixUiCheckbox <RemixUiCheckbox
id="solhintstaticanalysis" id="solhintstaticanalysis"
inputType="checkbox" inputType="checkbox"
title="Run solhint static analysis." title="Run SolHint static analysis."
onClick={handleLinterEnabled} onClick={handleLinterEnabled}
checked={solhintEnabled} checked={solhintEnabled}
label="Linter" label="Linter"
@ -647,11 +647,11 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
inputType="checkbox" inputType="checkbox"
onClick={handleSlitherEnabled} onClick={handleSlitherEnabled}
checked={showSlither} checked={showSlither}
disabled={true} disabled={false}
label="Slither" label="Slither"
onChange={() => {}} onChange={() => {}}
optionalClassName="mr-3" optionalClassName="mr-3"
title="To run Slither analysis, Remix IDE must be connected to your local filesystem with remixd." title="Run Slither static analysis."
/> />
</div> </div>
<Button <Button
@ -677,7 +677,6 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
id="showLibWarnings" id="showLibWarnings"
name="showLibWarnings" name="showLibWarnings"
categoryId="showLibWarnings" categoryId="showLibWarnings"
title="When checked, the results are also displayed for external contract libraries."
inputType="checkbox" inputType="checkbox"
checked={showLibsWarning} checked={showLibsWarning}
label="Show warnings for external libraries" label="Show warnings for external libraries"
@ -688,7 +687,6 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
<RemixUiCheckbox <RemixUiCheckbox
id="hideWarnings" id="hideWarnings"
name="hideWarnings" name="hideWarnings"
title="When checked, general warnings from analysis are hidden."
inputType="checkbox" inputType="checkbox"
checked={hideWarnings} checked={hideWarnings}
label="Hide warnings" label="Hide warnings"

Loading…
Cancel
Save