Skip to content

Commit

Permalink
style: better style for link in leaderboard name
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Jan 23, 2024
1 parent 1fcd207 commit 3892784
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions src/components/leaderboard/LeaderboardTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,12 @@ function UserRow({ data, loading }: { data: LeaderboardData['data'][number]; loa
) : (
<>
<Avatar address={data.address} avatar={profile?.content?.image} size={32} />
{profile?.struct ? (
<ViewProfileLink
style={{ minWidth: 0, display: 'flex' }}
account={{ address: data.address }}
title={title}
/>
) : (
title
)}
<ViewProfileLink
style={{ minWidth: 0, display: 'flex' }}
account={{ address: data.address }}
title={title}
className='ColorNormal'
/>
</>
)}
</div>
Expand Down

0 comments on commit 3892784

Please sign in to comment.