fix button disable state

pull/3838/head
Joseph Izang 1 year ago
parent 6eaaa63acf
commit 8e1025c2d1
  1. 2
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -742,7 +742,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
message, showWarnings, allWarnings, warningContainer, calculateWarningStateEntries, warningState, setHints, hints, setSlitherWarnings, setSsaWarnings, slitherEnabled, setStartAnalysis)
}
}
disabled={(state.data === null || !isSupportedVersion) || (!solhintEnabled && !basicEnabled) }
disabled={(state.data === null || !isSupportedVersion || !solhintEnabled && !basicEnabled) }
/> : <Button
buttonText={`Analyze ${state.file}`}
title={`${runButtonTitle}`}

Loading…
Cancel
Save