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 {
|
try {
|
||||||
let eosed = false
|
let eosed = false
|
||||||
const relayList = await client.fetchRelayList(pubkey)
|
const relayList = await client.fetchRelayList(pubkey)
|
||||||
const relayUrls = relayList.read.concat(BIG_RELAY_URLS).slice(0, 4)
|
|
||||||
const subCloser = client.subscribe(
|
const subCloser = client.subscribe(
|
||||||
relayUrls,
|
relayList.read.length > 0 ? relayList.read.slice(0, 5) : BIG_RELAY_URLS,
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
kinds: [
|
kinds: [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue