From 1e3e33db788dcd603d32fa0ee413f0212ff99b58 Mon Sep 17 00:00:00 2001 From: Andrew Chou Date: Sun, 29 Oct 2023 08:45:03 +0000 Subject: [PATCH] ux: bug fix: fix account restoration --- src/frontend/drivers/ssb/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/drivers/ssb/index.ts b/src/frontend/drivers/ssb/index.ts index 8e3c1b96..dee79efa 100644 --- a/src/frontend/drivers/ssb/index.ts +++ b/src/frontend/drivers/ssb/index.ts @@ -531,7 +531,7 @@ export class SSBSource { public restoreIdentity$(inputWords: string): Stream { return xs.create({ start(listener: Listener) { - this.fn = (msg: RestoreIdentityResponse) => listener.next(msg); + this.fn = ({msg}: {msg: RestoreIdentityResponse}) => listener.next(msg); backend.addListener('identity', this.fn); backend.post('identity', `RESTORE: ${inputWords}`); },