bug: loading replies for linked note in thread
This commit is contained in:
parent
769e093663
commit
12250c5e3d
@ -61,14 +61,13 @@ export default function useThreadFeed(link: NostrLink) {
|
|||||||
if (link.type === NostrPrefix.Address) {
|
if (link.type === NostrPrefix.Address) {
|
||||||
setTrackingATags([`${link.kind}:${link.author}:${link.id}`]);
|
setTrackingATags([`${link.kind}:${link.author}:${link.id}`]);
|
||||||
} else {
|
} else {
|
||||||
setTrackingEvent([
|
const lnk = {
|
||||||
{
|
id: link.id,
|
||||||
id: link.id,
|
relay: link.relays?.[0],
|
||||||
relay: link.relays?.[0],
|
};
|
||||||
},
|
setTrackingEvent([lnk]);
|
||||||
]);
|
setAllEvents([lnk]);
|
||||||
}
|
}
|
||||||
setAllEvents([]);
|
|
||||||
}, [link.id]);
|
}, [link.id]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user