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

Fix: anti-bot error #134

Merged
merged 1 commit into from
Jul 18, 2022
Merged
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
5 changes: 3 additions & 2 deletions pages/verify-candy-machine/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const VerifyCandyMachine: NextPage = () => {

{!isLoading && error && <div className='text-red-500 text-center mt-6'>{error}</div>}

{isCaptcha ? (
{!isCaptcha ? (
<>
{!shouldMint && itemsRemaining !== 0 && (
<div className='text-red-500 text-center mt-6'>Important! Verify before Mint!</div>
Expand Down Expand Up @@ -98,8 +98,9 @@ const VerifyCandyMachine: NextPage = () => {
</div>
</>
) : (
// TODO: Add metaplex CIVIC Gateway when captcha is enabled
<div className='text-[hsl(258,52%,56%)] text-center mt-6'>
Captcha is disabled. You can modify it in Inspect candy machine
Captcha is enabled. You can modify it in Inspect candy machine
</div>
)}

Expand Down