Merge pull request #4897 from mempool/nymkappa/fix-preview-loading

[accelerator] fix spinner loading
This commit is contained in:
wiz 2024-04-05 18:23:38 +09:00 committed by GitHub
commit 3fd4d24c93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;