Skip to content

Commit

Permalink
fix: remove 'transfer' tab option on successful transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
donnyquixotic committed Oct 23, 2023
1 parent dddd103 commit bd4e09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/evm/nfts/NftDetailsPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ const loggedAccount = computed(() =>
);
async function startTransfer(){
const nameString = `${nft.value.contractPrettyName || nft.value.contractAddress} #${nft.value.id}`;
const dismiss = ant.config.notifyNeutralMessageHandler(
$t('notification.neutral_message_sending', { quantity: nameString, address: address.value }),
Expand All @@ -93,6 +92,7 @@ async function startTransfer(){
`${explorerUrl}/tx/${trx.hash}`,
);
router.push({ query: { tab: 'attributes' } });
tabs.value.pop(); // remove 'transfer' tab option
}catch(e){
console.error(e); // tx error notification handled in store
}
Expand Down

0 comments on commit bd4e09e

Please sign in to comment.