@hexure/ui 1.3.7 → 1.3.8

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.
package/dist/esm/index.js CHANGED
@@ -2742,7 +2742,7 @@ var Tabs = function (_a) {
2742
2742
  var tabs = _a.tabs, accessibleProps = __rest(_a, ["tabs"]);
2743
2743
  return (React.createElement(Wrapper$2, __assign({}, accessibleProps), tabs.map(function (_a) {
2744
2744
  var isActive = _a.isActive, label = _a.label, badgeCount = _a.badgeCount, errorBadge = _a.errorBadge, onClick = _a.onClick, accessibleProps = __rest(_a, ["isActive", "label", "badgeCount", "errorBadge", "onClick"]);
2745
- return (React.createElement(Tab, __assign({ "$isActive": isActive || false, onClick: isActive ? onClick : undefined }, accessibleProps),
2745
+ return (React.createElement(Tab, __assign({ "$isActive": isActive || false, onClick: isActive ? undefined : onClick }, accessibleProps),
2746
2746
  badgeCount ? React.createElement(Badge, { "$isError": errorBadge || false }, badgeCount) : null,
2747
2747
  label));
2748
2748
  })));