added network status & updated root note component

This commit is contained in:
Ren Amamiya
2023-03-18 09:27:36 +07:00
parent 8b2c6e67f5
commit eabb16dde1
4 changed files with 95 additions and 10 deletions

View File

@@ -37,8 +37,11 @@ export default function NoteMetadata({ eventID, eventPubkey }: { eventID: string
}
},
undefined,
(events: any, relayURL: any) => {
(events, relayURL) => {
console.log(events, relayURL);
},
{
unsubscribeOnEose: true,
}
);
// eslint-disable-next-line react-hooks/exhaustive-deps