원본 export default function Header({ currentMonth, setCurrentMonth, setCurrentWeek, }: { currentMonth: Date; setCurrentMonth: React.Dispatch; setCurrentWeek: React.Dispatch; }) { const changeMonthHandle = (btnType: string) => { if (btnType === 'prev') { setCurrentMonth(subMonths(currentMonth, 1)); } if (btnType === 'next') { setCurrentMonth(addMonths(currentMonth, 1)); } }; const changeWeekHandle..