import { Me, ThoughtThread as ThoughtThreadType } from "@/lib/api"; import { ThoughtCard } from "./thought-card"; interface ThoughtThreadProps { thought: ThoughtThreadType; currentUser: Me | null; isReply?: boolean; } export function ThoughtThread({ thought, currentUser, isReply = false, }: ThoughtThreadProps) { return (
{thought.replies.length > 0 && (
{thought.replies.map((reply) => ( ))}
)}
); }