Browse Source

remove console

Signed-off-by: shanghaikid <jiangruiyi@gmail.com>
shanghaikid 1 year ago
parent
commit
ddc52a3257
1 changed files with 0 additions and 3 deletions
  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 })));
   };