{
// Keep the revision's subject (its first line, shown as
// the title); only replace the body beneath it.
const body = comment.trim();
const next = descriptionSubject
? body
? `${descriptionSubject}\n\n${body}`
: descriptionSubject
: body;
await editRevision(
next,
Array.from(embeds.values()),
revId,
);
setEditingRevisionDescription(revId, false);
}}
close={() => setEditingRevisionDescription(revId, false)} />