labsense-ui-kit 1.2.19 → 1.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4804,7 +4804,7 @@ var ButtonComponent = function ButtonComponent(_ref21) {
4804
4804
  var loaderPos = loaderProps.loaderPosition || 'right';
4805
4805
  return React.createElement(StyledButton, {
4806
4806
  "$disabled": disabled,
4807
- onClick: onClick,
4807
+ onClick: !disabled ? onClick : undefined,
4808
4808
  "$buttonWidth": buttonWidth,
4809
4809
  "$background": background,
4810
4810
  "$borderDefault": borderDefault,