mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
Remove console.logs
This commit is contained in:
parent
26f28a98ce
commit
60c3f0d628
1 changed files with 0 additions and 3 deletions
|
@ -13,7 +13,6 @@ class DateComponent2 extends PureComponent {
|
|||
}
|
||||
|
||||
updateDate = (date) => {
|
||||
console.log(date)
|
||||
const { value, path } = this.props;
|
||||
let newDate;
|
||||
this.setState(date, () => {
|
||||
|
@ -23,7 +22,6 @@ class DateComponent2 extends PureComponent {
|
|||
// wait until we have all three values to update the date
|
||||
newDate = moment().year(year).month(month).date(day);
|
||||
this.props.updateCurrentValues({ [path]: newDate.toDate() });
|
||||
console.log(newDate)
|
||||
}
|
||||
} else {
|
||||
// update current date
|
||||
|
@ -32,7 +30,6 @@ class DateComponent2 extends PureComponent {
|
|||
if (month) newDate.month(month);
|
||||
if (day) newDate.date(day);
|
||||
this.props.updateCurrentValues({ [path]: newDate.toDate() });
|
||||
console.log(newDate)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue