This commit is contained in:
louiscklaw
2025-06-15 04:09:29 +08:00
parent 45bac1b3c8
commit bebf9834e6
7 changed files with 63 additions and 47 deletions

View File

@@ -1,11 +1,9 @@
import type { SWRConfiguration } from 'swr';
import type { ICalendarEvent } from 'src/types/calendar';
import { useMemo } from 'react';
import axios, { endpoints, fetcher } from 'src/lib/axios';
import type { ICalendarEvent } from 'src/types/calendar';
import type { SWRConfiguration } from 'swr';
import useSWR, { mutate } from 'swr';
import axios, { fetcher, endpoints } from 'src/lib/axios';
// ----------------------------------------------------------------------
const enableServer = false;