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,12 +1,10 @@
import type { SWRConfiguration } from 'swr';
import type { IChatMessage, IChatParticipant, IChatConversation } from 'src/types/chat';
import { useMemo } from 'react';
import { keyBy } from 'es-toolkit';
import { useMemo } from 'react';
import axios, { endpoints, fetcher } from 'src/lib/axios';
import type { IChatConversation, IChatMessage, IChatParticipant } from 'src/types/chat';
import type { SWRConfiguration } from 'swr';
import useSWR, { mutate } from 'swr';
import axios, { fetcher, endpoints } from 'src/lib/axios';
// ----------------------------------------------------------------------
const enableServer = false;