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,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';