update,
This commit is contained in:
@@ -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';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -1,11 +1,9 @@
|
||||
import type { SWRConfiguration } from 'swr';
|
||||
import type { UniqueIdentifier } from '@dnd-kit/core';
|
||||
import type { IKanban, IKanbanTask, IKanbanColumn } from 'src/types/kanban';
|
||||
|
||||
import { startTransition, useMemo } from 'react';
|
||||
import axios, { endpoints, fetcher } from 'src/lib/axios';
|
||||
import type { IKanban, IKanbanColumn, IKanbanTask } from 'src/types/kanban';
|
||||
import type { SWRConfiguration } from 'swr';
|
||||
import useSWR, { mutate } from 'swr';
|
||||
import { useMemo, startTransition } from 'react';
|
||||
|
||||
import axios, { fetcher, endpoints } from 'src/lib/axios';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
|
@@ -1,11 +1,9 @@
|
||||
import type { SWRConfiguration } from 'swr';
|
||||
import type { IMail, IMailLabel } from 'src/types/mail';
|
||||
|
||||
import useSWR from 'swr';
|
||||
import { useMemo } from 'react';
|
||||
import { keyBy } from 'es-toolkit';
|
||||
|
||||
import { fetcher, endpoints } from 'src/lib/axios';
|
||||
import { useMemo } from 'react';
|
||||
import { endpoints, fetcher } from 'src/lib/axios';
|
||||
import type { IMail, IMailLabel } from 'src/types/mail';
|
||||
import type { SWRConfiguration } from 'swr';
|
||||
import useSWR from 'swr';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
|
@@ -1,8 +1,8 @@
|
||||
// src/actions/order.ts
|
||||
import { useMemo } from 'react';
|
||||
import axiosInstance, { endpoints, fetcher } from 'src/lib/axios';
|
||||
import type { IProductItem } from 'src/types/product';
|
||||
import type { IOrderItem } from 'src/types/order';
|
||||
import type { IProductItem } from 'src/types/product';
|
||||
import type { SWRConfiguration } from 'swr';
|
||||
import useSWR from 'swr';
|
||||
|
||||
|
Reference in New Issue
Block a user