[accelerator] clear error state when auth state changes

This commit is contained in:
nymkappa
2024-07-02 11:21:30 +09:00
parent 3dbbc83077
commit b198528592

View File

@@ -122,6 +122,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
this.authSubscription$ = this.authService.getAuth$().subscribe((auth) => {
this.auth = auth;
this.estimate = null;
this.error = null;
this.moveToStep('summary');
});
this.authService.refreshAuth$().subscribe();