function MessagePane({ msg, msgTags, attachments, token, onToggleUnread, onStar, onArchive, onUnarchive, onDelete, onReply, archived, busy, account, }) { const [reply, setReply] = React.useState(""); React.useEffect(() => { setReply(""); }, [msg?.id]); if (!msg) { return (
" + (msg.body_text || "") + ""; const btn = "text-xs px-2.5 py-1 rounded border border-paper-line text-ink-muted hover:border-accent hover:text-accent"; const chips = (msgTags || []).filter((t) => t !== "archive"); return (