import { twMerge } from 'tailwind-merge'; import { useWidget } from '@libs/ark'; import { WIDGET_KIND } from '@utils/constants'; import { Note } from '.'; export function NoteThread({ thread, className, }: { thread: { rootEventId: string; replyEventId: string }; className?: string; }) { const { addWidget } = useWidget(); if (!thread) return null; return (