@@ -56,10 +56,12 @@ const toNFT = () => {
router.push('/')
setTimeout(function (){
let NFT = document.querySelector('#NFT')
- NFT.scrollIntoView({
- behavior: "smooth"
- })
- lod = false
+ if(NFT){
+ NFT.scrollIntoView({
+ behavior: "smooth"
+ })
+ lod = false
+ }
},200)
}