update,
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user