Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ezra-sg committed Dec 18, 2023
1 parent 7afd686 commit 4b0cacb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/antelope/stores/nfts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
4 changes: 0 additions & 4 deletions src/pages/evm/allowances/AllowancesPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
7 changes: 6 additions & 1 deletion src/pages/evm/allowances/AllowancesTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
7 changes: 6 additions & 1 deletion src/pages/evm/allowances/EditAllowanceModal.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<script setup lang="ts">
import { computed, onBeforeMount, ref, watch } from 'vue';
import {
computed,
onBeforeMount,
ref,
watch,
} from 'vue';
import { useI18n } from 'vue-i18n';
import { BigNumber } from 'ethers';
Expand Down

0 comments on commit 4b0cacb

Please sign in to comment.