add id attribute to button

pull/3642/head
Joseph Izang 1 year ago
parent 804d064ae4
commit 13e79b23c3
  1. 2
      libs/remix-ui/static-analyser/src/lib/Button/StaticAnalyserButton.tsx

@ -20,7 +20,7 @@ const StaticAnalyserButton = ({
const newclassList = disabled && classList.length > 0 ? `${classList} disabled` : const newclassList = disabled && classList.length > 0 ? `${classList} disabled` :
classList.length === 0 && disabled ? `${defaultStyle} disabled` : classList.length > 0 ? `${classList}` : defaultStyle classList.length === 0 && disabled ? `${defaultStyle} disabled` : classList.length > 0 ? `${classList}` : defaultStyle
return ( return (
<button className={newclassList} disabled={disabled} onClick={onClick}> <button id="staticAnalysisRunBtn" className={newclassList} disabled={disabled} onClick={onClick}>
<CustomTooltip <CustomTooltip
placement="right" placement="right"
tooltipId="ssaRunButtonTooltip" tooltipId="ssaRunButtonTooltip"

Loading…
Cancel
Save