Skip to content

Commit

Permalink
Update leaderboard to use fullname (#5315)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasdeluna authored Jan 30, 2025
1 parent 3b43c12 commit 3b875b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/routes/achievements/components/Leaderboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ const Leaderboard = () => {
search: false,
inlineFiltering: false,
render: (_, user: RankedUser) => (
<Link to={`/users/${user.username}`}>{user.username}</Link>
<Link to={`/users/${user.username}`}>
{user.firstName} {user.lastName} ({user.username})
</Link>
),
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const AchievementsBox = ({
<h2>Trofeer</h2>
<Button
onPress={() => {
navigate('/achievements/overview');
navigate('/achievements/leaderboard');
}}
>
Mer info
Expand Down

0 comments on commit 3b875b3

Please sign in to comment.