forked from Kieran/snort
more minimal reactions
This commit is contained in:
parent
548e3ae67b
commit
8fb06e5765
@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user