fix: use currency icons in public balances
CI / check (push) Successful in 26s
CI / release (push) Skipped
CI / deploy (push) Successful in 46s

This commit is contained in:
Simo committed 2026-08-10 18:32:17 +02:00
1 parent adc201bfb6
commit 06cd0cfe42
6 files changed
+72 -29

No files matched your search

+2 -1
View File
@@ -7,6 +7,7 @@ import {
OnlineBadge,
RankBadge,
} from "@/components/public/ui";
import { CurrencyIcon } from "@/components/shared/currency-icon";
import { UserAvatarThumbnail } from "@/components/shared/user-avatar-thumbnail";
import { db, User } from "@/lib/db";
@@ -69,7 +70,7 @@ export default async function RankingsPage() {
<Link href={`/u/${u.username}`}>{u.username}</Link>
</h3>
<p className="currency" style={{ margin: "0 0 0.3rem" }}>
<span className="coin credits">c</span>
<CurrencyIcon kind="credits" size={22} alt="" />
{u.credits.toLocaleString()}
</p>
<OnlineBadge online={u.online === "1"} />