diff --git a/src/app/verify-code/page.tsx b/src/app/verify-code/page.tsx index beeec17..4121472 100644 --- a/src/app/verify-code/page.tsx +++ b/src/app/verify-code/page.tsx @@ -20,33 +20,34 @@ export default function CaptchaCodePage () {
Verify you are human to get a code
-{result == 0 ? 'Getting verification code...' @@ -57,26 +58,29 @@ export default function CaptchaCodePage () { : resultMsg ?? 'Failed to get verification code. Please try again later.'}
-{ - navigator.clipboard.writeText(code ?? '') - if (showCopied) return - setShowCopied(true) - setTimeout(() => { - setShowCopied(false) - }, 3000) - }} - > - {code ?? 'N/A'} -
-- Copied to clipboard! -
+ {result == 2 && ( + <> +{ + navigator.clipboard.writeText(code ?? '') + if (showCopied) return + setShowCopied(true) + setTimeout(() => { + setShowCopied(false) + }, 3000) + }} + > + {code ?? 'N/A'} +
++ Copied to clipboard! +
+ > + )} ) }