From cea3d4a47370a9ecc277812d8de9923b1626f4ee Mon Sep 17 00:00:00 2001 From: Leo dev Date: Fri, 6 Feb 2026 17:42:04 +0100 Subject: [PATCH] Toggle group on runs --- src/app/runs/page.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/app/runs/page.tsx b/src/app/runs/page.tsx index 35a1c37..9f8b8d3 100644 --- a/src/app/runs/page.tsx +++ b/src/app/runs/page.tsx @@ -18,6 +18,7 @@ import LiveRunRow from "./components/LiveRunNow"; import StatCard from "@/components/app/StatCard"; import useAction from "@/hook/use-action"; import { getLiveRuns } from "@/modules/live-run/actions"; +import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group"; export default function LiveRuns() { const [liveRuns, liveRunsLoaded, liveRunsError] = useAction(getLiveRuns); @@ -55,13 +56,14 @@ export default function LiveRuns() { {/* Filters */}
- {["Any%", "100%", "Easy", "Hard"].map((cat) => ( - - {cat} - - ))} - - 🔥 PB Pace + + + any% + + + 100% + +
{/* Table */}