From 30d5106691fd5e5b348029ad2ed26243b8118f0e Mon Sep 17 00:00:00 2001 From: Alec Menconi Date: Tue, 19 Mar 2024 00:18:07 -0400 Subject: [PATCH] lint/prettier commit --- src/app/components/cart/services/cart.service.ts | 7 ++----- .../components/nft-checkout/nft-checkout.component.html | 4 +--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/app/components/cart/services/cart.service.ts b/src/app/components/cart/services/cart.service.ts index 1f7501e..3ebe16b 100644 --- a/src/app/components/cart/services/cart.service.ts +++ b/src/app/components/cart/services/cart.service.ts @@ -182,8 +182,7 @@ export class CartService { this.triggerChangeDetectionSubject$.next(); clearInterval(this.transactionCheckInterval); this.transactionCheckInterval = null; - } - else if (transaction.payload?.void && !transaction.payload?.reconciled) { + } else if (transaction.payload?.void && !transaction.payload?.reconciled) { this.notification.error($localize`NFT purchase transaction expired.`, ''); this.setCurrentStep(StepType.CONFIRM); removeItem(StorageItem.CheckoutTransaction); @@ -191,8 +190,7 @@ export class CartService { this.triggerChangeDetectionSubject$.next(); clearInterval(this.transactionCheckInterval); this.transactionCheckInterval = null; - } - else { + } else { removeItem(StorageItem.CheckoutTransaction); this.pendingTransaction$.next(undefined); this.triggerChangeDetectionSubject$.next(); @@ -725,7 +723,6 @@ export class CartService { private performCartUpdate(tokenSymbol: string): void { const updatedCartItems = this.cartItemsSubject$.value.filter((item) => { - const itemTokenSymbol = (item.nft?.placeholderNft ? item.collection?.mintingData?.network diff --git a/src/app/components/nft/components/nft-checkout/nft-checkout.component.html b/src/app/components/nft/components/nft-checkout/nft-checkout.component.html index a3fedba..2108834 100644 --- a/src/app/components/nft/components/nft-checkout/nft-checkout.component.html +++ b/src/app/components/nft/components/nft-checkout/nft-checkout.component.html @@ -556,9 +556,7 @@

{{ getTitle() }}

> -
- network print: {{ collection?.mintingData?.network }} -
+
network print: {{ collection?.mintingData?.network }}