Skip to content

Commit

Permalink
lint/prettier commit
Browse files Browse the repository at this point in the history
  • Loading branch information
amenconi committed Mar 19, 2024
1 parent 625eafd commit 30d5106
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 2 additions & 5 deletions src/app/components/cart/services/cart.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,17 +182,15 @@ 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);
this.pendingTransaction$.next(undefined);
this.triggerChangeDetectionSubject$.next();
clearInterval(this.transactionCheckInterval);
this.transactionCheckInterval = null;
}
else {
} else {
removeItem(StorageItem.CheckoutTransaction);
this.pendingTransaction$.next(undefined);
this.triggerChangeDetectionSubject$.next();
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -556,9 +556,7 @@ <h3 class="mb-1 text-2xl font-bold truncate">{{ getTitle() }}</h3>
>
</wen-send-funds>

<div>
network print: {{ collection?.mintingData?.network }}
</div>
<div>network print: {{ collection?.mintingData?.network }}</div>
<wen-wallet-deeplink
*ngIf="!helper.isExpired(transaction$ | async)"
class="mt-6"
Expand Down

0 comments on commit 30d5106

Please sign in to comment.