Skip to content

Commit 43efb4d

Browse files
committed
chore: code cleanup
1 parent 7c281a8 commit 43efb4d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/client/lib/OpenID4VCIClient.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,7 @@ export class OpenID4VCIClient {
100100
}
101101
// Running syncAuthorizationRequestOpts later as it is using the state
102102
if (!this._state.authorizationRequestOpts) {
103-
this._state = {
104-
...this._state,
105-
authorizationRequestOpts: this.syncAuthorizationRequestOpts(authorizationRequest),
106-
}
103+
this._state.authorizationRequestOpts = this.syncAuthorizationRequestOpts(authorizationRequest)
107104
}
108105
debug(`Authorization req options: ${JSON.stringify(this._state.authorizationRequestOpts, null, 2)}`);
109106
}

0 commit comments

Comments
 (0)