more minimal reactions

This commit is contained in:
Alejandro Gomez 2023-01-16 00:14:52 +01:00
parent 548e3ae67b
commit 8fb06e5765
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817
1 changed files with 3 additions and 3 deletions

View File

@ -63,12 +63,12 @@ export default function NoteReaction(props) {
const root = extractRoot();
const opt = {
showHeader: ev?.Kind === EventKind.Repost,
showFooter: ev?.Kind === EventKind.Repost
showFooter: false,
};
return (
<div className="reaction">
<div className="header flex">
<ProfileImage pubkey={ev.RootPubKey} subHeader={tagLine()} />
<ProfileImage pubkey={ev.RootPubKey} />
<div className="info">
<NoteTime from={ev.CreatedAt * 1000} />
</div>
@ -78,4 +78,4 @@ export default function NoteReaction(props) {
{!root && refEvent ? <p><Link to={eventLink(refEvent)}>#{hexToBech32("note", refEvent).substring(0, 12)}</Link></p> : null}
</div>
);
}
}