MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / goToNextWeek

Function goToNextWeek

src/components/WeeklyCalendar.tsx:85–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83
84 const goToPreviousWeek = () => setCurrentWeekStart(subWeeks(currentWeekStart, 1));
85 const goToNextWeek = () => setCurrentWeekStart(addWeeks(currentWeekStart, 1));
86 const goToToday = () => setCurrentWeekStart(startOfWeek(new Date(), { weekStartsOn: 1 }));
87
88 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected