Merge pull request #5250 from mempool/nymkappa/accel-checkout-clear-error

[accelerator] clear error state when auth state changes
This commit is contained in:
softsimon 2024-07-02 18:26:05 +09:00 committed by GitHub
commit 63cb6c3804
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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