forked from Kieran/zap.stream
fix: fix d query
This commit is contained in:
parent
2f38d0bffb
commit
5f34cebc65
@ -23,7 +23,7 @@ export default function useEmoji(pubkey: string) {
|
|||||||
|
|
||||||
rb.withFilter()
|
rb.withFilter()
|
||||||
.authors([pubkey])
|
.authors([pubkey])
|
||||||
.kinds([10030 as EventKind, 30030 as EventKind]);
|
.kinds([10030 as EventKind]);
|
||||||
|
|
||||||
return rb;
|
return rb;
|
||||||
}, [pubkey]);
|
}, [pubkey]);
|
||||||
@ -59,8 +59,7 @@ export default function useEmoji(pubkey: string) {
|
|||||||
rb.withFilter()
|
rb.withFilter()
|
||||||
.kinds([30030 as EventKind])
|
.kinds([30030 as EventKind])
|
||||||
.authors(authors)
|
.authors(authors)
|
||||||
// @ts-expect-error
|
.tag("d", identifiers);
|
||||||
.tag(["d", identifiers]);
|
|
||||||
|
|
||||||
return rb;
|
return rb;
|
||||||
}, [pubkey, related]);
|
}, [pubkey, related]);
|
||||||
@ -71,6 +70,7 @@ export default function useEmoji(pubkey: string) {
|
|||||||
ParameterizedReplaceableNoteStore,
|
ParameterizedReplaceableNoteStore,
|
||||||
subRelated
|
subRelated
|
||||||
);
|
);
|
||||||
|
|
||||||
const emojiPacks = useMemo(() => {
|
const emojiPacks = useMemo(() => {
|
||||||
return relatedData ?? [];
|
return relatedData ?? [];
|
||||||
}, [relatedData]);
|
}, [relatedData]);
|
||||||
|
Loading…
Reference in New Issue
Block a user