From 4b0cacbe5664342f7cb7221ca7014febd14a08c6 Mon Sep 17 00:00:00 2001 From: Ezra Sowden-Guzman Date: Mon, 18 Dec 2023 14:22:59 -0500 Subject: [PATCH] cleanup --- src/antelope/stores/nfts.ts | 3 +-- src/pages/evm/allowances/AllowancesPage.vue | 4 ---- src/pages/evm/allowances/AllowancesTable.vue | 7 ++++++- src/pages/evm/allowances/EditAllowanceModal.vue | 7 ++++++- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/antelope/stores/nfts.ts b/src/antelope/stores/nfts.ts index 628d4d38..402b7175 100644 --- a/src/antelope/stores/nfts.ts +++ b/src/antelope/stores/nfts.ts @@ -37,9 +37,8 @@ export interface NFTsCollection { list: Collectible[]; loading: boolean; - // this is to prevent the scenario where we fetch a single NFT from a collection, add it to the contracts `list` + // this is to prevent the scenario where we fetch a single NFT from a collection, add it to a contract's `list` // and then in future checks we assume that the entire collection has been fetched (as we have at least one item in the list) - // entireCollectionFetched: boolean; } diff --git a/src/pages/evm/allowances/AllowancesPage.vue b/src/pages/evm/allowances/AllowancesPage.vue index 00705810..9443cb69 100644 --- a/src/pages/evm/allowances/AllowancesPage.vue +++ b/src/pages/evm/allowances/AllowancesPage.vue @@ -191,10 +191,6 @@ function handleRevokeSelectedClicked() { batchRevokeAllowancesRemaining.value = selectedRows.value.length; function handleRevokeCompleted(completed: number, remaining: number) { - console.log('completed:', completed); - console.log('remaining:', remaining); - console.log('\n\n'); - batchRevokeAllowancesRemaining.value = remaining; } diff --git a/src/pages/evm/allowances/AllowancesTable.vue b/src/pages/evm/allowances/AllowancesTable.vue index db0d941d..6ccb72e8 100644 --- a/src/pages/evm/allowances/AllowancesTable.vue +++ b/src/pages/evm/allowances/AllowancesTable.vue @@ -2,7 +2,12 @@ import { computed, ref, watch } from 'vue'; import { useI18n } from 'vue-i18n'; -import { AllowanceTableColumns, ShapedAllowanceRow, isErc20AllowanceRow, isErc721SingleAllowanceRow } from 'src/antelope/types/Allowances'; +import { + AllowanceTableColumns, + ShapedAllowanceRow, + isErc20AllowanceRow, + isErc721SingleAllowanceRow, +} from 'src/antelope/types/Allowances'; import { useUserStore } from 'src/antelope'; import { getCurrencySymbol } from 'src/antelope/stores/utils/currency-utils'; diff --git a/src/pages/evm/allowances/EditAllowanceModal.vue b/src/pages/evm/allowances/EditAllowanceModal.vue index a1fe8d8f..61f0cb09 100644 --- a/src/pages/evm/allowances/EditAllowanceModal.vue +++ b/src/pages/evm/allowances/EditAllowanceModal.vue @@ -1,5 +1,10 @@