From 69adb2055c7258b9e129da8bcf83f94fd8618a35 Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Mon, 6 Nov 2023 15:17:52 +0530 Subject: [PATCH] Update index.html --- index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 536838a..6f9e474 100644 --- a/index.html +++ b/index.html @@ -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') {