refactor(nip46): remove redundant signer URL state
This commit is contained in:
@@ -31,7 +31,6 @@ const makeSignerLaunchUrl = (nostrconnectUrl: string) => {
|
|||||||
|
|
||||||
export class Nip46Controller {
|
export class Nip46Controller {
|
||||||
url = writable("")
|
url = writable("")
|
||||||
signerUrls = writable<{aegis: string; nostrsigner: string} | undefined>(undefined)
|
|
||||||
bunker = writable("")
|
bunker = writable("")
|
||||||
loading = writable(false)
|
loading = writable(false)
|
||||||
clientSecret = makeSecret()
|
clientSecret = makeSecret()
|
||||||
@@ -52,10 +51,6 @@ export class Nip46Controller {
|
|||||||
})
|
})
|
||||||
|
|
||||||
this.url.set(url)
|
this.url.set(url)
|
||||||
this.signerUrls.set({
|
|
||||||
aegis: makeSignerLaunchUrl(url),
|
|
||||||
nostrsigner: makeSignerLaunchUrl(url),
|
|
||||||
})
|
|
||||||
|
|
||||||
let response
|
let response
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user