From 619b91d9478ffb3a547be5c362af884dc386b911 Mon Sep 17 00:00:00 2001 From: Alec Menconi Date: Thu, 15 Feb 2024 22:17:39 -0500 Subject: [PATCH] linting/prettier fixes --- src/app/pages/nft/pages/nft/nft.page.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/pages/nft/pages/nft/nft.page.ts b/src/app/pages/nft/pages/nft/nft.page.ts index 4fdb8c2..6013810 100644 --- a/src/app/pages/nft/pages/nft/nft.page.ts +++ b/src/app/pages/nft/pages/nft/nft.page.ts @@ -419,7 +419,7 @@ export class NFTPage implements OnInit, OnDestroy { this.data.collection$.value, this.data.nft$.value, ); - let parsedQuantity = Math.round(Number(this.nftQtySelected)); + const parsedQuantity = Math.round(Number(this.nftQtySelected)); if (isNaN(parsedQuantity) || parsedQuantity <= 0) { this.nftQtySelected = 1; @@ -441,7 +441,7 @@ export class NFTPage implements OnInit, OnDestroy { if (event.clipboardData) { const pastedData = event.clipboardData.getData('text/plain'); - let parsedQuantity = Math.round(Number(pastedData)); + const parsedQuantity = Math.round(Number(pastedData)); const maxQuantity = this.getAvailableNftQuantity( this.data.collection$.value,