chore: add all reactions
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kieran 2023-10-16 21:37:15 +01:00
parent f34ccf72cb
commit 1a507679f3
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@snort/system-react",
"version": "1.0.18",
"version": "1.0.19",
"description": "React hooks for @snort/system",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -48,6 +48,7 @@ export function useEventReactions(ev: TaggedNostrEvent, related: ReadonlyArray<T
return {
deletions,
reactions: {
all: reactions,
positive: groupReactions[Reaction.Positive] ?? [],
negative: groupReactions[Reaction.Negative] ?? [],
},