import { Note } from "@/components/note"; import { ThreadIcon } from "@lume/icons"; import type { LumeEvent } from "@lume/system"; import { cn } from "@lume/utils"; import { memo, useMemo } from "react"; export const Conversation = memo(function Conversation({ event, className, }: { event: LumeEvent; className?: string; }) { const thread = useMemo(() => event.thread, [event]); return (
{thread?.root?.id ? : null}
Thread
{thread?.reply?.id ? : null}
); });