From 9ce14f381e80de520eff198dfd4ae97b957a9828 Mon Sep 17 00:00:00 2001 From: bigq Date: Fri, 21 Jul 2023 14:13:23 +0200 Subject: [PATCH] fix: switch network --- front/src/app/page.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/front/src/app/page.tsx b/front/src/app/page.tsx index 8196aa7..2bfed97 100644 --- a/front/src/app/page.tsx +++ b/front/src/app/page.tsx @@ -42,7 +42,6 @@ import { } from "@sismo-core/sismo-connect-react"; import { AUTHS, CLAIMS, CONFIG } from "@/app/sismo-connect-config"; - /* ******************** Defines the chain to use *************************** */ const CHAIN = mumbaiFork; @@ -79,7 +78,7 @@ export default function Home() { function resetApp() { setPageState("init"); setSismoConnectVerifiedResult(null); - setClaimError(""); + setClaimError(null); const url = new URL(window.location.href); url.searchParams.delete("sismoConnectResponseCompressed"); window.history.replaceState({}, "", url.toString()); @@ -139,7 +138,7 @@ export default function Home() { Your airdrop destination address is: {address}

- {pageState == "init" && ( + {pageState == "init" && !claimError && ( <>