diff --git a/FRONTEND/src/components/Calendar.jsx b/FRONTEND/src/components/Calendar.jsx index 77ebc96..249e40c 100644 --- a/FRONTEND/src/components/Calendar.jsx +++ b/FRONTEND/src/components/Calendar.jsx @@ -6,6 +6,11 @@ const Calendar = ({ onDateClick }) => { const [currentMonth, setCurrentMonth] = useState(new Date().getMonth()); const [currentYear, setCurrentYear] = useState(new Date().getFullYear()); + const monthNames = [ + 'January', 'February', 'March', 'April', 'May', 'June', + 'July', 'August', 'September', 'October', 'November', 'December' + ]; + const handleDayClick = (day) => { setActiveDay(day); const selectedDate = new Date(currentYear, currentMonth, day); @@ -46,7 +51,7 @@ const Calendar = ({ onDateClick }) => {