Closed adityabhattad2021 closed 1 year ago
function mintNft() public returns (uint256) { _safeMint(msg.sender, s_tokenCounter); s_tokenCounter = s_tokenCounter + 1; return s_tokenCounter; }
Is this return statement needed?
You're right! It doesn't
Going to close, though. You're right we don't need the return!
Thanks for clearing my doubt.
Is this return statement needed?