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) {
|
||||
setTrackingATags([`${link.kind}:${link.author}:${link.id}`]);
|
||||
} else {
|
||||
setTrackingEvent([
|
||||
{
|
||||
id: link.id,
|
||||
relay: link.relays?.[0],
|
||||
},
|
||||
]);
|
||||
const lnk = {
|
||||
id: link.id,
|
||||
relay: link.relays?.[0],
|
||||
};
|
||||
setTrackingEvent([lnk]);
|
||||
setAllEvents([lnk]);
|
||||
}
|
||||
setAllEvents([]);
|
||||
}, [link.id]);
|
||||
|
||||
useEffect(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user