fix: 🐛

This commit is contained in:
codytseng
2025-11-11 21:53:57 +08:00
parent 485ca82e30
commit 8ed28a79b1
4 changed files with 12 additions and 12 deletions

View File

@@ -704,7 +704,7 @@ export function NostrProvider({ children }: { children: React.ReactNode }) {
}
const updateRelayListEvent = async (relayListEvent: Event) => {
const newRelayList = await indexedDb.putReplaceableEvent(relayListEvent)
const newRelayList = await client.updateRelayListCache(relayListEvent)
setRelayList(getRelayListFromEvent(newRelayList))
}