This commit is contained in:
louiscklaw
2025-06-15 04:23:06 +08:00
parent c74a273928
commit 253c2f2487
5 changed files with 18 additions and 26 deletions

View File

@@ -1,10 +1,8 @@
import type { SWRConfiguration } from 'swr';
import type { IPostItem } from 'src/types/blog';
import useSWR from 'swr';
import { useMemo } from 'react';
import { fetcher, endpoints } from 'src/lib/axios';
import { endpoints, fetcher } from 'src/lib/axios';
import type { IPostItem } from 'src/types/blog';
import type { SWRConfiguration } from 'swr';
import useSWR from 'swr';
// ----------------------------------------------------------------------