Skip to content

Commit e8c41c3

Browse files
committed
fix: display full user name instead of initial in leaderboard
1 parent bea8acf commit e8c41c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/LeaderboardTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export default function LeaderboardTable({
236236
{/* Profile + Badges */}
237237
<div className="flex-1 ml-3 sm:ml-4 min-w-0 flex items-center gap-3">
238238
<div className="w-8 h-8 sm:w-10 sm:h-10 shrink-0 rounded-lg bg-linear-to-br from-white/5 to-white/10 border border-white/10 flex items-center justify-center text-[10px] sm:text-sm font-semibold text-gray-300 shadow-sm uppercase">
239-
{user.name ? user.name.charAt(0) : user.email.charAt(0)}
239+
{user.name ? user.name : user.email.charAt(0)}
240240
</div>
241241
<div className="flex flex-col min-w-0 gap-1 sm:gap-1.5">
242242
<div className="flex items-center gap-2">

0 commit comments

Comments
 (0)