import { Button } from "@/components/ui/button"; import { X, User } from "lucide-react"; export interface HistoryItem { id: string; username: string; name: string; image: string; mediaCount: number; timestamp: number; } interface FetchHistoryProps { history: HistoryItem[]; onSelect: (item: HistoryItem) => void; onRemove: (id: string) => void; } export function FetchHistory({ history, onSelect, onRemove }: FetchHistoryProps) { if (history.length === 0) return null; return (
Recent Fetches