Skip to content

Commit 9b9efe8

Browse files
authored
Update codeSnippets.ts (#108)
1 parent 04b06f2 commit 9b9efe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/components/Tutorial/codeSnippets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ contract NFTContract is ERC721 {
7575
);
7676
}
7777
78-
function mintAllowList(uint256 _tokenId, bytes32[] _proof) external {
78+
function mintAllowList(uint256 _tokenId, bytes32[] calldata _proof) external {
7979
require(allowListed(msg.sender, _proof), "You are not on the allowlist");
8080
_mint(msg.sender, _tokenId);
8181
}

0 commit comments

Comments
 (0)