show zapper avatars on the same notefooter row

This commit is contained in:
Martti Malmi
2024-01-11 12:00:53 +02:00
parent 536f8ddc5b
commit de6685ade3
10 changed files with 47 additions and 117 deletions

View File

@ -55,8 +55,12 @@ export function Note(props: NoteProps) {
<NoteText {...props} translated={translated} showTranslation={showTranslation} />
{translated && <TranslationInfo translated={translated} setShowTranslation={setShowTranslation} />}
{ev.kind === EventKind.Polls && <Poll ev={ev} />}
{optionsMerged.showFooter && (
<div className="mt-4">
<NoteFooter ev={ev} replies={props.threadChains?.get(chainKey(ev))?.length} />
</div>
)}
</div>
{optionsMerged.showFooter && <NoteFooter ev={ev} replies={props.threadChains?.get(chainKey(ev))?.length} />}
</>
);
}