import { useNavigate } from "react-router-dom"; import { Radio } from "lucide-react"; import { Progress } from "@/components/ui/progress"; import type { StreamParticle } from "@/hooks/use-stream-particles"; import { StreamCard } from "@/features/particles/stream-card"; import { StreamContextMenu } from "@/features/particles/stream-context-menu"; interface ParticleGridViewProps { streams: StreamParticle[]; networkId: string; isLoading: boolean; selectedIndex?: number | null; } export function ParticleGridView({ streams, networkId, isLoading, selectedIndex }: ParticleGridViewProps) { const navigate = useNavigate(); if (isLoading) { return ; } if (streams.length === 0) { return (
No recent streams yet. Start a conversation using the keyboard shortcuts below.