import { Button } from "@/components/ui/button" import { Card, CardContent } from "@/components/ui/card" import { ScrollArea } from "@/components/ui/scroll-area" import { useBetslipStore } from "@/lib/store/betslip-store" const mockEvents = [ { id: "1", sport: "Soccer", name: "Team A vs Team B", markets: [ { id: "1x2_home", label: "1", odds: 1.85 }, { id: "1x2_draw", label: "X", odds: 3.4 }, { id: "1x2_away", label: "2", odds: 4.1 }, ], }, { id: "2", sport: "Basketball", name: "City Wolves vs Lake Bears", markets: [ { id: "spread_home", label: "Home -4.5", odds: 1.9 }, { id: "spread_away", label: "Away +4.5", odds: 1.9 }, ], }, ] export function EventsList() { const { addBet } = useBetslipStore() return (
{mockEvents.map((event) => (
{event.name}
{event.sport}
{event.markets.map((market) => ( ))}
))}
) }