"use client"; import { Card } from "@/components/ui/card"; import { Table, TableBody, TableHead, TableHeader, TableRow, } from "@/components/ui/table"; import LiveRunRow from "./components/LiveRunRow"; 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] = useAction(getLiveRuns); // Sort top runners (status === 'pb') to the top const sortedRuns = [...(liveRuns || [])]; return (
42 live runs ยท Streaming in real time