Update index.html

This commit is contained in:
sairaj mote 2023-11-06 15:17:52 +05:30
parent c5e6c182a0
commit 69adb2055c

View File

@ -315,7 +315,10 @@
// EIP-1193 userRejectedRequest error
notify('Please connect to MetaMask to continue', 'error')
} else {
console.error(error);
if (error === 'MetaMask not installed')
notify('Please install MetaMask to continue', 'error')
else
notify(error, 'error')
}
})
if (typeof window.ethereum !== 'undefined') {