import { ReplyIcon } from "@shared/icons"; import { useActiveAccount } from "@stores/accounts"; import { compactNumber } from "@utils/number"; export function NoteReply({ id, replies, currentBlock, }: { id: string; replies: number; currentBlock?: number }) { const addTempBlock = useActiveAccount((state: any) => state.addTempBlock); const openThread = (event: any, thread: string) => { const selection = window.getSelection(); if (selection.toString().length === 0) { addTempBlock(currentBlock, 2, "Thread", thread); } else { event.stopPropagation(); } }; return ( ); }