@apexcura/ui-components 0.0.11-Beta175 → 0.0.11-Beta176
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 +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -667,6 +667,7 @@ var DatePickerElement = (props) => {
|
|
|
667
667
|
};
|
|
668
668
|
const onHandleDecrement = () => {
|
|
669
669
|
const currentDate = date || (0, import_moment.default)();
|
|
670
|
+
console.log("currentDate------------", currentDate);
|
|
670
671
|
const newDate = (0, import_moment.default)(currentDate).subtract(1, "days");
|
|
671
672
|
setDate(newDate);
|
|
672
673
|
if (props.onChange) {
|
package/dist/index.mjs
CHANGED
|
@@ -616,6 +616,7 @@ var DatePickerElement = (props) => {
|
|
|
616
616
|
};
|
|
617
617
|
const onHandleDecrement = () => {
|
|
618
618
|
const currentDate = date || moment();
|
|
619
|
+
console.log("currentDate------------", currentDate);
|
|
619
620
|
const newDate = moment(currentDate).subtract(1, "days");
|
|
620
621
|
setDate(newDate);
|
|
621
622
|
if (props.onChange) {
|