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 root = extractRoot();
|
||||||
const opt = {
|
const opt = {
|
||||||
showHeader: ev?.Kind === EventKind.Repost,
|
showHeader: ev?.Kind === EventKind.Repost,
|
||||||
showFooter: ev?.Kind === EventKind.Repost
|
showFooter: false,
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<div className="reaction">
|
<div className="reaction">
|
||||||
<div className="header flex">
|
<div className="header flex">
|
||||||
<ProfileImage pubkey={ev.RootPubKey} subHeader={tagLine()} />
|
<ProfileImage pubkey={ev.RootPubKey} />
|
||||||
<div className="info">
|
<div className="info">
|
||||||
<NoteTime from={ev.CreatedAt * 1000} />
|
<NoteTime from={ev.CreatedAt * 1000} />
|
||||||
</div>
|
</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}
|
{!root && refEvent ? <p><Link to={eventLink(refEvent)}>#{hexToBech32("note", refEvent).substring(0, 12)}</Link></p> : null}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user