Browse Source

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

- 删除重复的InferResponseType类型导入,优化代码结构
yourname 8 months ago
parent
commit
fec10d8aa8
1 changed files with 0 additions and 1 deletions
  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';
 
 // 定义类型