Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor() {
super();
this.minDate = startOfDay(new Date());
this.maxDate = startOfDay(addMonths(new Date(), 12));
this.state = {
departDate: startOfDay(addDays(new Date(), 1)),
returnDate: startOfDay(addDays(new Date(), 4)),
};
}
constructor() {
super();
this.minDate = startOfDay(new Date());
this.maxDate = startOfDay(addMonths(new Date(), 12));
this.state = {
departDate: startOfDay(addDays(new Date(), 1)),
returnDate: startOfDay(addDays(new Date(), 4)),
};
}