Skip to content

Commit

Permalink
🚸 [NFT Class] Hide transfer button
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt committed Nov 23, 2022
1 parent e399d68 commit d0a6d95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
1 change: 1 addition & 0 deletions src/components/NFTPage/ControlBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<div class="flex items-center">
<div v-if="isCollector && view !== 'created'" class="flex gap-[12px]">
<ButtonV2
v-if="currentNftId"
size="mini"
preset="tertiary"
content-class="!text-[12px]"
Expand Down
15 changes: 0 additions & 15 deletions src/pages/nft/class/_classId/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,6 @@
</section>
</div>
</div>

<EventModalTransfer
:is-open="isOpenTransferModal"
:is-transferring="isTransferring"
:class-id="classId"
:user-collected-count="userCollectedCount"
:user-collected-nft-ids="userCollectedNFTList"
@close="isOpenTransferModal = false; isTransferring = false"
@submit="handleTransfer"
/>
</Page>
</template>

Expand Down Expand Up @@ -296,11 +286,6 @@ export default {
this.uiSetTxStatus('');
this.fetchUserCollectedCount();
},
async handleTransfer({ nftId, memo, toWallet }) {
logTrackerEvent(this, 'NFT', 'NFTTransfer(DetailsPage)', nftId, 1);
this.isTransferring = true;
await this.transferNFT({ nftId, memo, toWallet });
},
async handleCollect() {
logTrackerEvent(this, 'NFT', 'NFTCollect(DetailsPage)', this.classId, 1);
try {
Expand Down

0 comments on commit d0a6d95

Please sign in to comment.