[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
No known key found for this signature in database
GPG Key ID: 92358FC85D9645DE

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();