diff --git a/apps/web/src/routes/_app/calendar.tsx b/apps/web/src/routes/_app/calendar.tsx index c1b6bdb..c30fbd1 100644 --- a/apps/web/src/routes/_app/calendar.tsx +++ b/apps/web/src/routes/_app/calendar.tsx @@ -63,7 +63,7 @@ function EventComponent({ event }: { event: CalendarEvent }) { } // Custom toolbar -function CustomToolbar({ date, onNavigate, onView, view, label }: any) { +function CustomToolbar({ date, onNavigate, onView, currentView, label }: any) { const goToBack = () => onNavigate(Navigate.PREVIOUS); const goToNext = () => onNavigate(Navigate.NEXT); const goToToday = () => onNavigate(Navigate.TODAY); @@ -88,7 +88,7 @@ function CustomToolbar({ date, onNavigate, onView, view, label }: any) { {viewNames.map((name) => (