Use non-singleton broker

This commit is contained in:
Jon Staab
2025-05-07 13:53:58 -07:00
parent f2eb04adff
commit 94a0077b09
5 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -34,7 +34,7 @@
? [normalizeRelayUrl("ws://" + stripProtocol(BURROW_URL))]
: [normalizeRelayUrl(BURROW_URL)]
const broker = Nip46Broker.get({clientSecret, relays})
const broker = new Nip46Broker({clientSecret, relays})
const back = () => history.back()
@@ -89,7 +89,7 @@
await loadUserData(pubkey)
addSession({...session, email})
broker.cleanup()
setChecked("*")
clearModals()
}