"use client"; import { Clock } from "lucide-react"; import { cn, timeAgo } from "@/lib/utils"; export interface HistoryItem { id: string; prompt: string; models: string[]; createdAt: string } export function History({ items, current, votes, onOpen }: { items: HistoryItem[]; current: string | null; votes: Record; onOpen: (id: string) => void }) { return (
History{items.length}
); }