import { EARLIER_MAY_HAVE_BEEN_SENT, EARLIER_UNREADABLE, type ScopedSendRecovery } from "../../hooks/useScopedSendRecovery"; /** What a sender shows while an earlier send here is unconfirmed, and the answer once it was checked. */ const EarlierSendCheck = ({ recovery }: { recovery: ScopedSendRecovery }) => { if (recovery.unreadable) return
{EARLIER_UNREADABLE}
; if (!recovery.earlier.length) return recovery.notice ?{recovery.notice}
: null; return (