[accelerator] fix spinner loading

This commit is contained in:
nymkappa 2024-04-05 17:52:07 +09:00
parent b5026789d6
commit 55a564a5a8
No known key found for this signature in database
GPG Key ID: 92358FC85D9645DE

View File

@ -103,7 +103,9 @@ export class AcceleratePreviewComponent implements OnDestroy, OnChanges {
}
ngAfterViewInit() {
this.showSpinner = true;
if (this.paymentType === 'cashapp') {
this.showSpinner = true;
}
this.user = this.storageService.getAuth()?.user ?? null;