Update index.html
This commit is contained in:
parent
c5e6c182a0
commit
69adb2055c
@ -315,7 +315,10 @@
|
|||||||
// EIP-1193 userRejectedRequest error
|
// EIP-1193 userRejectedRequest error
|
||||||
notify('Please connect to MetaMask to continue', 'error')
|
notify('Please connect to MetaMask to continue', 'error')
|
||||||
} else {
|
} 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') {
|
if (typeof window.ethereum !== 'undefined') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user