Skip to content

Commit 559c36a

Browse files
committed
feat: add variant prop to Badge component in LeaderboardRow
1 parent e8bdc41 commit 559c36a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/(main)/contests/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,8 @@ function LeaderboardRow({ entry, rank, problemIds, isRankDisabled }: { entry: Le
436436
if (!trimmedTag) return null;
437437
return (
438438
<Badge
439-
key={trimmedTag}
439+
key={trimmedTag}
440+
variant="flat"
440441
className={cn(
441442
"text-xs border-transparent",
442443
getTagColorClasses(trimmedTag)

0 commit comments

Comments
 (0)