fix: 🐛
This commit is contained in:
parent
0522e3937f
commit
a7eb203b8c
1 changed files with 5 additions and 3 deletions
|
|
@ -116,10 +116,12 @@ export function FeedProvider({ children }: { children: React.ReactNode }) {
|
|||
return
|
||||
}
|
||||
if (feedType === 'temporary') {
|
||||
if (!options.temporaryRelayUrls?.length) return
|
||||
const urls = options.temporaryRelayUrls ?? temporaryRelayUrls
|
||||
if (!urls.length) return
|
||||
|
||||
setFeedType(feedType)
|
||||
setTemporaryRelayUrls(options.temporaryRelayUrls)
|
||||
setRelayUrls(options.temporaryRelayUrls)
|
||||
setTemporaryRelayUrls(urls)
|
||||
setRelayUrls(urls)
|
||||
setActiveRelaySetId(null)
|
||||
setFilter({})
|
||||
setIsReady(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue