rendering users page with the responsive container
This commit is contained in:
parent
39f5f6d452
commit
f2d3b32c97
4 changed files with 139 additions and 184 deletions
|
|
@ -67,8 +67,8 @@ export default function UserWrapper(props: Props) {
|
|||
if (hasFetched.current) return;
|
||||
setLoading(true)
|
||||
userAPI.getUserWithTeam(user_id).then(resp => {
|
||||
console.log(resp.data.team)
|
||||
console.log(resp.data.user)
|
||||
// console.log(resp.data.team)
|
||||
// console.log(resp.data.user)
|
||||
setGlobal({
|
||||
user: resp.data.user ? User.create(resp.data.user) : User.create(),
|
||||
team: resp.data.team ? Team.create(resp.data.team) : Team.create(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue