From 1d93d2c41cfd080055d4a09dd9d2828884363535 Mon Sep 17 00:00:00 2001 From: Ron Stokes <167768464+R0gnva1dr@users.noreply.github.com> Date: Sat, 25 Apr 2026 21:40:57 +0100 Subject: [PATCH 1/2] Changed instances of "user.username" to "user.name" in "components/top-list.tsx", in line 88. --- components/top-list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/top-list.tsx b/components/top-list.tsx index 9211dc1..b79fe88 100644 --- a/components/top-list.tsx +++ b/components/top-list.tsx @@ -85,7 +85,7 @@ export function TopList({ userResults }: Props) { - {t("topwork.titleForUser", { username: user.username })} + {t("topwork.titleForUser", { username: user.name })} {t("topwork.desc")} From 6d3e188865ea87f8c71d606e85aa1a5494c674da Mon Sep 17 00:00:00 2001 From: Osama Mabkhot <99215291+O2sa@users.noreply.github.com> Date: Sun, 26 Apr 2026 00:01:31 +0300 Subject: [PATCH 2/2] fix: Type 'string | null' is not assignable to type 'string | number' --- components/top-list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/top-list.tsx b/components/top-list.tsx index b79fe88..a5dcdd6 100644 --- a/components/top-list.tsx +++ b/components/top-list.tsx @@ -85,7 +85,7 @@ export function TopList({ userResults }: Props) { - {t("topwork.titleForUser", { username: user.name })} + {t("topwork.titleForUser", { username: user.name || user.username })} {t("topwork.desc")}