Skip to content

Commit

Permalink
fixed issue of clearking error state after login (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aby-JS authored Jan 24, 2024
1 parent 81503da commit 0dfeb3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/shared-ui/src/flowHandler/flowHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export class FlowHandler {

if (flowUpdate?.nextScreen) {
if (flowUpdate.nextScreen === ScreenNames.End) {
this.#state.corbadoApp.clearGlobalErrors();
return void this.#config.onLoggedIn();
}

Expand Down

0 comments on commit 0dfeb3c

Please sign in to comment.