From 6088b428767abfc51998ca8b7f6b5f6994e9ff3b Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Sat, 30 Apr 2022 23:19:10 +0800
Subject: ...

---
 FrontEnd/src/views/admin/UserAdmin.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

diff --git a/FrontEnd/src/views/admin/UserAdmin.tsx b/FrontEnd/src/views/admin/UserAdmin.tsx
index 02fb0d12..d6480bf4 100644
--- a/FrontEnd/src/views/admin/UserAdmin.tsx
+++ b/FrontEnd/src/views/admin/UserAdmin.tsx
@@ -262,7 +262,7 @@ const UserAdmin: React.FC = () => {
       .list()
       .then((us) => {
         if (subscribe) {
-          setUsers(us);
+          setUsers(us.items);
         }
       });
     return () => {
-- 
cgit v1.2.3

