split notefooter into smaller components, CONFIG.showPowIcon

This commit is contained in:
Martti Malmi
2024-01-11 23:04:36 +02:00
parent edca8a9636
commit 649bab228b
10 changed files with 218 additions and 164 deletions

View File

@ -57,7 +57,7 @@ export function Note(props: NoteProps) {
{ev.kind === EventKind.Polls && <Poll ev={ev} />}
{optionsMerged.showFooter && (
<div className="mt-4">
<NoteFooter ev={ev} replies={props.threadChains?.get(chainKey(ev))?.length} />
<NoteFooter ev={ev} replyCount={props.threadChains?.get(chainKey(ev))?.length} />
</div>
)}
</div>