import { LayoutGrid } from "lucide-react"; import { SpaceCard } from "./space-card"; interface SpacesGridProps { spaces: Array<{ id: string; name: string; description: string | null; createdAt: string; updatedAt: string; autoMode: boolean; summary: string | null; contextCount?: number | null; themes?: string[]; }>; } export function SpacesGrid({ spaces }: SpacesGridProps) { if (spaces.length === 0) { return (

No spaces found

); } return (
{spaces.map((space) => ( ))}
); }