@ballistix.digital/react-components 0.4.90 → 0.4.91

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/index.js CHANGED
@@ -9206,7 +9206,8 @@ var DateMenuForm = function (props) {
9206
9206
  var styles$1 = handleGenerateStyle();
9207
9207
  // Simulate onClear event.
9208
9208
  React.useEffect(function () {
9209
- if (state === null) {
9209
+ if (state.startDate === null && state.endDate === null) {
9210
+ console.log('clear');
9210
9211
  onClear && onClear(name);
9211
9212
  }
9212
9213
  // eslint-disable-next-line react-hooks/exhaustive-deps