All Issues
-
{/* TODO: List each issue */}
+
{/* TODO: Map over issues array and render IssueItem components for each issue */}
);
}
diff --git a/docs/learn/onchain-app-development/writing-to-contracts/useSimulateContract.mdx b/docs/learn/onchain-app-development/writing-to-contracts/useSimulateContract.mdx
index e16b217f8..d8a18cd9a 100644
--- a/docs/learn/onchain-app-development/writing-to-contracts/useSimulateContract.mdx
+++ b/docs/learn/onchain-app-development/writing-to-contracts/useSimulateContract.mdx
@@ -40,7 +40,7 @@ const {
useEffect(() => {
if (claimIsError) {
- alert('Unable to claim'); // TODO: Better error handling
+ alert('Unable to claim: ' + (claimIsError ? 'Transaction simulation failed' : ''));
}
}, [claimIsError]);
diff --git a/docs/learn/token-development/erc-721-token/erc-721-sbs.mdx b/docs/learn/token-development/erc-721-token/erc-721-sbs.mdx
index 4261f5988..e109d9cb9 100644
--- a/docs/learn/token-development/erc-721-token/erc-721-sbs.mdx
+++ b/docs/learn/token-development/erc-721-token/erc-721-sbs.mdx
@@ -186,7 +186,8 @@ function _baseURI() internal override view returns(string memory) {
}
function switchURI() public {
- // TODO: Limit to contract owner
+ // Requirements: use OpenZeppelin Ownable.sol and add onlyOwner modifier
+ // function switchURI() public onlyOwner {
nftMetadata = nftMetadata == NFTMetadata.BAYC ? NFTMetadata.DOODLES : NFTMetadata.BAYC;
}
```
diff --git a/docs/learn/token-development/nft-guides/complex-onchain-nfts.mdx b/docs/learn/token-development/nft-guides/complex-onchain-nfts.mdx
index 6b3d9bbf9..f2e44c331 100644
--- a/docs/learn/token-development/nft-guides/complex-onchain-nfts.mdx
+++ b/docs/learn/token-development/nft-guides/complex-onchain-nfts.mdx
@@ -315,11 +315,11 @@ function render(uint _tokenId) public view returns (string memory) {
return string(
abi.encodePacked(
"