diff --git a/src/app/explore/page.tsx b/src/app/explore/page.tsx index e9f35a72a..8023a008e 100644 --- a/src/app/explore/page.tsx +++ b/src/app/explore/page.tsx @@ -144,8 +144,7 @@ export default async function ExplorePage({ searchParams }: ExplorePageProps) { const rowData = row as any; const name = isOrg ? rowData.name : (rowData.name || rowData.username); const sub = isOrg ? `@${rowData.slug}` : `@${rowData.username}`; - // Replace line 171 with this: -const avatar = rowData.avatar_url || `https://github.com/${isOrg ? encodeURIComponent(rowData.slug) : encodeURIComponent(rowData.username)}.png`; + const avatar = rowData.avatar_url || `https://github.com/${isOrg ? encodeURIComponent(rowData.slug) : encodeURIComponent(rowData.username)}.png`; const score = typeof rowData.score === "number" ? rowData.score : 0; const isTop = rank <= 3; @@ -158,7 +157,7 @@ const avatar = rowData.avatar_url || `https://github.com/${isOrg ? encodeURIComp style={{ display: "flex", alignItems: "center", gap: "16px", padding: "14px 18px", border: "1px solid var(--color-hairline)", borderRadius: "12px", textDecoration: "none", background: "var(--color-canvas-soft)" }} > {/* Rank Indicator */} - + {rank === 1 ? "🥇" : rank === 2 ? "🥈" : rank === 3 ? "🥉" : rank}