Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Revert "Revert ":bug: downtime""" #99

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/faucet/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default function Faucet() {
}
}, [faucetJob, isError]);

// if (isFaucetLoading) return <SkeletonLoader />; // TODO: revert to this when downtime is fixed
if (isFaucetLoading) return <SkeletonLoader />;
if (!wallet || !activeWallets) redirect("/");

return (
Expand Down
2 changes: 1 addition & 1 deletion app/spirit-karrot/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div className="flex flex-col justify-center items-center w-full py-16 px-3 rounded-md">
Expand Down
4 changes: 1 addition & 3 deletions components/faucet-claim.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<CarrotContainer>
<InfoCarrot
Expand Down