diff --git a/src/app/runs/page.tsx b/src/app/runs/page.tsx
index 2ab10a9..715bf28 100644
--- a/src/app/runs/page.tsx
+++ b/src/app/runs/page.tsx
@@ -13,6 +13,7 @@ import {
TableRow,
TableCell,
} from "@/components/ui/table";
+import { cn } from "@/lib/utils";
/* ---------------- mock data ---------------- */
@@ -92,9 +93,7 @@ export default function LiveRuns() {
))}
-
- 🔥 PB Pace
-
+ 🔥 PB Pace
{/* Table */}
@@ -112,8 +111,8 @@ export default function LiveRuns() {
- {sortedRuns.map((run) => (
-
+ {sortedRuns.map((run, index) => (
+
))}
@@ -123,15 +122,28 @@ export default function LiveRuns() {
);
}
-function LiveRunRow({ username, problem, category, time, pace, status }: any) {
+function LiveRunRow({
+ index,
+ username,
+ problem,
+ category,
+ time,
+ pace,
+ status,
+}: any) {
const pacePositive = pace.startsWith("+");
const isTop = status === "pb";
return (
{isTop ? `🔥 ${username}` : username}