Skip to content

Commit 51761e1

Browse files
authored
display user names instead of usernames in breakdown bars (#99)
1 parent a0b3876 commit 51761e1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

components/breakdown-bars.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ export function BreakdownBars({ user1, user2 }: Props) {
4343
<div className="flex justify-between text-sm">
4444
<span>{t(metricLabel)}</span>
4545
<span className="text-muted-foreground">
46-
{user1.username}: {user1Value} | {user2.username}:{" "}
46+
{user1.name}: {user1Value} | {user2.name}:{" "}
4747
{user2Value}
4848
</span>
4949
</div>
5050
<div className="space-y-1 ">
5151
<div className="flex items-center gap-2">
5252
<span className="text-xs w-24 truncate">
53-
{user1.username}
53+
{user1.name}
5454
</span>
5555
<Progress
5656
value={(user1Value / maxVal) * 100}
@@ -60,7 +60,7 @@ export function BreakdownBars({ user1, user2 }: Props) {
6060
</div>
6161
<div className="flex items-center gap-2">
6262
<span className="text-xs w-24 truncate">
63-
{user2.username}
63+
{user2.name}
6464
</span>
6565
<Progress
6666
value={(user2Value / maxVal) * 100}

0 commit comments

Comments
 (0)