@superleapai/flow-ui 2.5.5 → 2.5.7

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.
@@ -149,7 +149,7 @@
149
149
  label: "Previous month",
150
150
  disabled: isPrevDisabled,
151
151
  className: "opacity-50 hover:opacity-100",
152
- onClick: !isPrevDisabled ? onPrev : undefined,
152
+ onClick: onPrev,
153
153
  });
154
154
  var nextBtn = Button.create({
155
155
  icon: ICON_CHEVRON_RIGHT,
@@ -158,7 +158,7 @@
158
158
  label: "Next month",
159
159
  disabled: isNextDisabled,
160
160
  className: "opacity-50 hover:opacity-100",
161
- onClick: !isNextDisabled ? onNext : undefined,
161
+ onClick: onNext,
162
162
  });
163
163
  nav.appendChild(prevBtn);
164
164
  nav.appendChild(nextBtn);