fix: 🐛
This commit is contained in:
parent
c09c002471
commit
5f2f63696b
3 changed files with 21 additions and 9 deletions
|
|
@ -172,9 +172,7 @@ export function NostrProvider({ children }: { children: React.ReactNode }) {
|
|||
indexedDb.getReplaceableEvent(account.pubkey, ExtendedKind.FAVORITE_RELAYS)
|
||||
])
|
||||
if (storedRelayListEvent) {
|
||||
setRelayList(
|
||||
storedRelayListEvent ? getRelayListFromRelayListEvent(storedRelayListEvent) : null
|
||||
)
|
||||
setRelayList(getRelayListFromRelayListEvent(storedRelayListEvent))
|
||||
}
|
||||
if (storedProfileEvent) {
|
||||
setProfileEvent(storedProfileEvent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue