minor fix
This commit is contained in:
parent
c7f7ae38b3
commit
10c0f57111
@ -149,10 +149,11 @@ const dateIncrement = (duration, day) => {
|
|||||||
switch (duration) {
|
switch (duration) {
|
||||||
case 'week':
|
case 'week':
|
||||||
return addDays(day, 7)
|
return addDays(day, 7)
|
||||||
case 'month':
|
|
||||||
return addMonths(day, 1)
|
|
||||||
case 'year':
|
case 'year':
|
||||||
return addYears(day, 1)
|
return addYears(day, 1)
|
||||||
|
case 'month':
|
||||||
|
default:
|
||||||
|
return addMonths(day, 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user