ソースを参照

remove console

Signed-off-by: shanghaikid <jiangruiyi@gmail.com>
shanghaikid 2 年 前
コミット
ddc52a3257
1 ファイル変更0 行追加3 行削除
  1. 0 3
      client/src/pages/user/User.tsx

+ 0 - 3
client/src/pages/user/User.tsx

@@ -38,9 +38,6 @@ const Users = () => {
 
   const fetchUsers = async () => {
     const res = await UserHttp.getUsers();
-    const roles = await UserHttp.getRoles();
-
-    console.log('roles', roles);
 
     setUsers(res.usernames.map((v: string) => ({ name: v })));
   };