From 6159c8fd8e4d9ded22b9d5dd1772b1529a1d513a Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Sat, 13 Feb 2021 11:58:36 +0800
Subject: ...

---
 FrontEnd/src/app/views/admin/UserAdmin.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'FrontEnd/src/app/views/admin/UserAdmin.tsx')

diff --git a/FrontEnd/src/app/views/admin/UserAdmin.tsx b/FrontEnd/src/app/views/admin/UserAdmin.tsx
index fbdfd5a3..369eaf1e 100644
--- a/FrontEnd/src/app/views/admin/UserAdmin.tsx
+++ b/FrontEnd/src/app/views/admin/UserAdmin.tsx
@@ -6,7 +6,7 @@ import OperationDialog, {
   OperationBoolInputInfo,
 } from "../common/OperationDialog";
 
-import { User, AuthUser } from "@/services/user";
+import { AuthUser } from "@/services/user";
 import {
   getHttpUserClient,
   HttpUser,
@@ -199,7 +199,7 @@ type ContextMenuItem = TModify | TModifyPermission | TDelete;
 
 interface UserItemProps {
   on: { [key in ContextMenuItem]: () => void };
-  user: User;
+  user: HttpUser;
 }
 
 const UserItem: React.FC<UserItemProps> = ({ user, on }) => {
@@ -273,7 +273,7 @@ const UserAdmin: React.FC<UserAdminProps> = (props) => {
       }
     | { type: TDelete; username: string };
 
-  const [users, setUsers] = useState<User[] | null>(null);
+  const [users, setUsers] = useState<HttpUser[] | null>(null);
   const [dialog, setDialog] = useState<DialogInfo>(null);
   const [usersVersion, setUsersVersion] = useState<number>(0);
   const updateUsers = (): void => {
-- 
cgit v1.2.3

