bug: loading replies for linked note in thread
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Kieran 2023-06-19 09:26:52 +01:00
parent 769e093663
commit 12250c5e3d
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
1 changed files with 6 additions and 7 deletions

View File

@ -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(() => {