diff --git a/app/faucet/page.tsx b/app/faucet/page.tsx index b8730e9..e96b67d 100644 --- a/app/faucet/page.tsx +++ b/app/faucet/page.tsx @@ -130,7 +130,7 @@ export default function Faucet() { } }, [faucetJob, isError]); - // if (isFaucetLoading) return ; // TODO: revert to this when downtime is fixed + if (isFaucetLoading) return ; if (!wallet || !activeWallets) redirect("/"); return ( diff --git a/app/spirit-karrot/page.tsx b/app/spirit-karrot/page.tsx index f2b2b28..cb7a46c 100644 --- a/app/spirit-karrot/page.tsx +++ b/app/spirit-karrot/page.tsx @@ -189,7 +189,7 @@ const SpiritKarrot = () => { } }, [isError, faucetJob]); - const isDowntime = true; // TODO: remove this when downtime is fixed | set it to false + const isDowntime = false; // TODO: remove this when downtime is fixed | set it to false if (isDowntime) return (
diff --git a/components/faucet-claim.tsx b/components/faucet-claim.tsx index ba4295e..d6f566a 100644 --- a/components/faucet-claim.tsx +++ b/components/faucet-claim.tsx @@ -79,9 +79,7 @@ export const FaucetClaim = ({ setTimeout(() => setShowCloudfare(false), 1000); }; - const isDowntime = true; // TODO: remove this when downtime is fixed - // if (isDowntimeCheck?.isDowntime ?? false) // TODO: revert to this when downtime is fixed - if (isDowntime) + if (isDowntimeCheck?.isDowntime ?? false) return (