Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeleluc committed May 17, 2024
1 parent ee19655 commit f66ca67
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/NFTList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,23 +80,8 @@ const NFTList: React.FC = () => {
}
};

const mintNFT = async () => {
try {
if (!publicKey) {
console.error('Wallet not connected');
return;
}

// Call the minting method here
console.log('Minting NFT...');
} catch (error) {
console.error('Error minting NFT:', error);
}
};

return (
<div className="row">
<button onClick={mintNFT}>Mint NFT</button>
{nfts ? (
nfts.map((nft: any, index: number) => (
<div className="col-md-4 mb-4" key={index}>
Expand Down

0 comments on commit f66ca67

Please sign in to comment.