chore: add all reactions
This commit is contained in:
parent
f34ccf72cb
commit
1a507679f3
@ -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",
|
||||
|
@ -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] ?? [],
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user