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

Function fetchTasks

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

Source from the content-addressed store, hash-verified

26 );
27
28 const fetchTasks = () => {
29 fetch("/api/tasks")
30 .then((res) => res.json())
31 .then(setTasks)
32 .catch(() => setTasks([]));
33 };
34
35 useEffect(() => {
36 fetchTasks();

Callers 2

WeeklyCalendarFunction · 0.85
handleVisibilityChangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected