SafeMint vs MintNFT

Morning to all community, im trying to learn how to create NFT, firstly i did with truffle and works like a charm but had problems to confirm contract in etherscan, so i decided to change to hardhat and alchemy and i could confirm all contract and deplooy but but i have problems with the safemint fuction in the newest code,I followed this tutorial:

and you could see that mint fuction change to safeMint so the javascript helper to mint it shoot me error. Someone could help me? Thanks

:1234: Code to reproduce

:computer: Environment

Please include the code you're using.

sorry long time...i didnt get notifications in my email.

i fixed.

thanks anyway