fix: 🐛
This commit is contained in:
parent
4cc16d5e58
commit
60eaa82955
1 changed files with 1 additions and 2 deletions
|
|
@ -93,9 +93,8 @@ export function NotificationProvider({ children }: { children: React.ReactNode }
|
|||
try {
|
||||
let eosed = false
|
||||
const relayList = await client.fetchRelayList(pubkey)
|
||||
const relayUrls = relayList.read.concat(BIG_RELAY_URLS).slice(0, 4)
|
||||
const subCloser = client.subscribe(
|
||||
relayUrls,
|
||||
relayList.read.length > 0 ? relayList.read.slice(0, 5) : BIG_RELAY_URLS,
|
||||
[
|
||||
{
|
||||
kinds: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue