import { Me, Thought } from "@/lib/api"; import { ThoughtCard } from "./thought-card"; import { Card, CardContent } from "./ui/card"; interface ThoughtListProps { thoughts: Thought[]; currentUser: Me | null; } export function ThoughtList({ thoughts, currentUser }: ThoughtListProps) { if (thoughts.length === 0) { return (

No thoughts to display.

); } return (
{thoughts.map((thought) => ( ))}
); }