forked from Kieran/snort
fix: count shaka likes
This commit is contained in:
parent
e724c6ba21
commit
4680397e1a
@ -20,7 +20,7 @@ export default function Note(props) {
|
||||
const dataEvent = props["data-ev"];
|
||||
const reactions = props.reactions;
|
||||
const deletion = props.deletion;
|
||||
const likes = reactions?.filter(({ Content }) => Content === "+").length ?? 0
|
||||
const likes = reactions?.filter(({ Content }) => Content === "+" || Content === "🤙").length ?? 0
|
||||
const dislikes = reactions?.filter(({ Content }) => Content === "-").length ?? 0
|
||||
const publisher = useEventPublisher();
|
||||
const [showReply, setShowReply] = useState(false);
|
||||
|
Loading…
Reference in New Issue
Block a user