Merge branch 'feature/debug_userinfo' into 'develop'

user info

See merge request witel3/loan-facilities-expert!45
This commit is contained in:
yasaman aliakbari
2023-07-23 10:52:53 +00:00
2 changed files with 3 additions and 3 deletions

View File

@@ -8,10 +8,10 @@ export default function ProfileData() {
<Avatar
sx={{ width: "80px", height: "80px" }}
alt="User Image"
src={user.user_avatar}
src={user.avatar}
/>
<Typography sx={{ fontSize: 15, fontWeight: 600 }} textAlign="center">
{user.user_username}
{user.username}
</Typography>
</Stack>
);

View File

@@ -29,7 +29,7 @@ function ProfileMenu() {
color: "primary.main",
}}
alt="User Image"
src={user.user_avatar}
src={user.avatar}
/>
</IconButton>
</Tooltip>