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 && ( <>