[accelerator] clear error state when auth state changes

This commit is contained in:
nymkappa committed 2024-07-02 11:21:30 +09:00
1 parent 3dbbc83077
commit b198528592
1 file changed
+1
@@ -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();