@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.esm.js +2 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -9195,7 +9195,8 @@ var DateMenuForm = function (props) {
|
|
|
9195
9195
|
var styles$1 = handleGenerateStyle();
|
|
9196
9196
|
// Simulate onClear event.
|
|
9197
9197
|
useEffect(function () {
|
|
9198
|
-
if (state === null) {
|
|
9198
|
+
if (state.startDate === null && state.endDate === null) {
|
|
9199
|
+
console.log('clear');
|
|
9199
9200
|
onClear && onClear(name);
|
|
9200
9201
|
}
|
|
9201
9202
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|