tooltip for button. change Linter to Solhint checkbox

pull/5370/head
Joseph Izang 1 year ago
parent ce33beda95
commit f8dffb7d87
  1. 5
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -647,10 +647,10 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
<RemixUiCheckbox
id="solhintstaticanalysis"
inputType="checkbox"
title="Linter runs SolHint static analysis."
title="SolHint lints the selected contract."
onClick={handleLinterEnabled}
checked={solhintEnabled }
label="Linter"
label="Solhint"
onChange={() => {}}
tooltipPlacement={'bottom-start'}
optionalClassName="mr-3"
@ -671,6 +671,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
</div>
{state.data && state.file.length > 0 && state.source ? <Button
buttonText={`Analyse ${state.file}`}
title={`${runButtonTitle}`}
classList="btn btn-sm btn-primary btn-block"
onClick={async () => await run(state.data, state.source, state.file, state , props, isSupportedVersion, showSlither, categoryIndex, groupedModules, runner,_paq,
message, showWarnings, allWarnings, warningContainer, calculateWarningStateEntries, warningState, setHints, hints, setSlitherWarnings, setSsaWarnings, slitherEnabled, setStartAnalysis)}

Loading…
Cancel
Save