diff --git a/packages/web/src/common/components/Calendar/Calendar.tsx b/packages/web/src/common/components/Calendar/Calendar.tsx index 803bfc7..6541d74 100644 --- a/packages/web/src/common/components/Calendar/Calendar.tsx +++ b/packages/web/src/common/components/Calendar/Calendar.tsx @@ -20,7 +20,7 @@ interface EventPeriod { interface CalendarProps extends CalendarSizeProps { existDates: Date[]; - eventPeriods: EventPeriod[]; + eventPeriods?: EventPeriod[]; selectedDates: Date[]; onDateClick?: (date: Date) => void; } @@ -53,7 +53,7 @@ const WeekWrapper = styled.div` const Calendar: React.FC = ({ size = "md", existDates, - eventPeriods, + eventPeriods = [], selectedDates, onDateClick = () => {}, }) => {