warning fix
This commit is contained in:
parent
19e12e25e9
commit
0538d5b6f6
1 changed files with 5 additions and 7 deletions
|
|
@ -8,13 +8,11 @@ export default function Profile({ userData: { badgeCount, email, level, points }
|
|||
<IconButton component={Link} to='/dashboard'>
|
||||
<Gravatar email={email} size={20} style={{ borderRadius: '100%' }} />
|
||||
</IconButton>
|
||||
<Typography>
|
||||
<b>{level}</b>
|
||||
<Typography display='inline' m={1}>{points}</Typography>
|
||||
<Typography color='#ffd700' display='inline'>{badgeCount?.gold}</Typography>
|
||||
/<Typography color='#c0c0c0' display='inline'>{badgeCount?.silver}</Typography>
|
||||
/<Typography color='#cd7f32' display='inline'>{badgeCount?.bronze}</Typography>
|
||||
</Typography>
|
||||
<Typography display='inline'><b>{level}</b></Typography>
|
||||
<Typography display='inline' m={1}>{points}</Typography>
|
||||
<Typography color='#ffd700' display='inline'>{badgeCount?.gold}</Typography>
|
||||
/<Typography color='#c0c0c0' display='inline'>{badgeCount?.silver}</Typography>
|
||||
/<Typography color='#cd7f32' display='inline'>{badgeCount?.bronze}</Typography>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue