2
0
Эх сурвалжийг харах

♻️ refactor(users): 优化导入依赖

- 移除未使用的InferResponseType类型导入,减少不必要的依赖
yourname 4 сар өмнө
parent
commit
8f8f7e7f36

+ 1 - 1
src/client/admin-shadcn/pages/Users.tsx

@@ -3,7 +3,7 @@ import { useQuery } from '@tanstack/react-query';
 import { format } from 'date-fns';
 import { Plus, Search, Edit, Trash2 } from 'lucide-react';
 import { userClient } from '@/client/api';
-import type { InferResponseType, InferRequestType } from 'hono/client';
+import type { InferRequestType } from 'hono/client';
 import { Button } from '@/client/components/ui/button';
 import { Input } from '@/client/components/ui/input';
 import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/client/components/ui/card';