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

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;