Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
woophi committed Feb 10, 2024
1 parent df63cf5 commit e9c47d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/rating/top100/PersonalPosition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const PersonalPosition = ({ positionInList }: Props) => {
className={typography({ variant: 'small' })}
style={{ width: '28px', fontSize: Number(userPosition) > 100 ? '.75rem' : undefined }}
>
{positionInList ?? Number(userPosition) > 100 ? '100+' : userPosition}
{positionInList ? positionInList : Number(userPosition) > 100 ? '100+' : userPosition}
</p>
<Avatar size={40} src={avatar} />
<p className={typography({ variant: 'small', truncate: true })} style={{ maxWidth: '140px' }}>
Expand Down

0 comments on commit e9c47d7

Please sign in to comment.