fix: 🐛
This commit is contained in:
@@ -17,7 +17,7 @@ export function useFetchRelayList(pubkey?: string | null) {
|
||||
}
|
||||
|
||||
fetchRelayList()
|
||||
}, [])
|
||||
}, [pubkey])
|
||||
|
||||
return relayList
|
||||
}
|
||||
|
||||
@@ -126,7 +126,11 @@ class ClientService {
|
||||
}
|
||||
|
||||
deleteEventCacheByFilter(filter: Filter) {
|
||||
this.eventCache.delete(JSON.stringify({ ...filter, limit: 1 }))
|
||||
try {
|
||||
this.eventCache.delete(JSON.stringify({ ...filter, limit: 1 }))
|
||||
} catch {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
|
||||
async fetchEventById(id: string): Promise<NEvent | undefined> {
|
||||
|
||||
Reference in New Issue
Block a user