From 2e2c4687e1cde89bafb213c7a2cb837f8a1cdb0b Mon Sep 17 00:00:00 2001
From: yu-zhen <wlphg010688@gmail.com>
Date: Thu, 8 Aug 2024 22:34:43 +0800
Subject: [PATCH] fix: remove page error if wrong network

---
 packages/interface/src/contexts/Maci.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/interface/src/contexts/Maci.tsx b/packages/interface/src/contexts/Maci.tsx
index a5d45e4e..a9876008 100644
--- a/packages/interface/src/contexts/Maci.tsx
+++ b/packages/interface/src/contexts/Maci.tsx
@@ -76,7 +76,7 @@ export const MaciProvider: React.FC<MaciProviderProps> = ({ children }: MaciProv
       setGatekeeperTrait(gatekeeperType);
     };
 
-    fetchGatekeeperType();
+    fetchGatekeeperType().catch(console.error);
   }, [signer]);
 
   // only fetch the attestations if the gatekeeper trait is EAS