Update DatePicker.tsx
parent
8a9b7ca78c
commit
8545bfef67
|
@ -51,7 +51,7 @@ function isOutOfBounds(
|
||||||
>
|
>
|
||||||
) {
|
) {
|
||||||
const date = dayjs(time);
|
const date = dayjs(time);
|
||||||
if (!periodDays) throw Error("periodDays is undefined");
|
if (!periodDays) return false;
|
||||||
|
|
||||||
switch (periodType) {
|
switch (periodType) {
|
||||||
case PeriodType.ROLLING: {
|
case PeriodType.ROLLING: {
|
||||||
|
|
Loading…
Reference in New Issue