tooltip for button. change Linter to Solhint checkbox

pull/3838/head
Joseph Izang 1 year ago
parent 44d93c1811
commit b97fa0fedf
  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