Skip to content

Commit

Permalink
removed console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kavinm committed Dec 30, 2021
1 parent 3358867 commit 920a825
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/components/Landing/YourWallet/Minting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,13 @@ const Minting: React.FC = () => {
const totalPrice = String(MINT_PRICE * amount)
const ethersValue = { value: ethers.utils.parseEther(totalPrice) }

console.log('Going to pop wallet now to pay mint fee and gas...')

const nftTxn = await connectedContract.mint(amount, false, ethersValue)

console.log('Mining...please wait.')
await nftTxn.wait()

console.log(
`Mined, see transaction: https://rinkeby.etherscan.io/tx/${nftTxn.hash}`
)
} else {
console.log("Ethereum object doesn't exist!")
}
} catch (error) {
console.log(error)
alert(error)
}
}

Expand Down

0 comments on commit 920a825

Please sign in to comment.