Просмотр исходного кода

♻️ refactor(expenses): 移除重复的类型导入

- 删除重复的InferResponseType类型导入,优化代码结构
yourname 8 месяцев назад
Родитель
Сommit
fec10d8aa8
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      src/client/admin/pages/Expenses.tsx

+ 0 - 1
src/client/admin/pages/Expenses.tsx

@@ -4,7 +4,6 @@ import { PlusOutlined, EditOutlined, DeleteOutlined, SearchOutlined } from '@ant
 import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
 import type { InferResponseType } from 'hono/client';
 import { expenseClient, clientClient } from '@/client/api';
-import type { InferResponseType } from 'hono/client';
 import dayjs from 'dayjs';
 
 // 定义类型