forked from Kieran/snort
bug: hide dislike if reactions disabled
This commit is contained in:
parent
e6a831ef8c
commit
446be363f6
@ -148,14 +148,14 @@ export default function NoteFooter(props: NoteFooterProps) {
|
||||
function menuItems() {
|
||||
return (
|
||||
<>
|
||||
<MenuItem onClick={() => react("-")}>
|
||||
{prefs.enableReactions && (<MenuItem onClick={() => react("-")}>
|
||||
<div>
|
||||
<FontAwesomeIcon icon={faThumbsDown} className={hasReacted('-') ? 'reacted' : ''} />
|
||||
|
||||
{formatShort(groupReactions[Reaction.Negative])}
|
||||
</div>
|
||||
Dislike
|
||||
</MenuItem>
|
||||
</MenuItem>)}
|
||||
<MenuItem onClick={() => share()}>
|
||||
<FontAwesomeIcon icon={faShareNodes} />
|
||||
Share
|
||||
|
Loading…
Reference in New Issue
Block a user