Skip to content

Commit

Permalink
ux: bug fix: fix account restoration
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 authored and staltz committed Oct 29, 2023
1 parent 85614fe commit 1e3e33d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/drivers/ssb/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ export class SSBSource {
public restoreIdentity$(inputWords: string): Stream<RestoreIdentityResponse> {
return xs.create<RestoreIdentityResponse>({
start(listener: Listener<RestoreIdentityResponse>) {
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}`);
},
Expand Down

0 comments on commit 1e3e33d

Please sign in to comment.