import { useBetslipStore } from "@/lib/store/betslip-store"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; export function Betslip() { const { bets, removeBet, clearBets } = useBetslipStore(); return ( Betslip {bets.length} {bets.length > 0 && ( )} {bets.length === 0 ? (

No bet has been selected. To select a bet, please click on the respective odds.

) : (
{bets.map((bet) => (
{bet.event}
{bet.market} – {bet.selection}
{bet.odds.toFixed(2)}
))}
)}
); }