From 4bd29979c34c1ec3b31dd384829b008eb726769c Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Mon, 23 Sep 2024 09:00:51 +0700
Subject: <iman> add valid chapta

---
 src-migrate/modules/register/index.tsx | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'src-migrate/modules/register/index.tsx')

diff --git a/src-migrate/modules/register/index.tsx b/src-migrate/modules/register/index.tsx
index 08d7f893..da41fd8b 100644
--- a/src-migrate/modules/register/index.tsx
+++ b/src-migrate/modules/register/index.tsx
@@ -161,7 +161,7 @@ const Register = () => {
               )}
             </div>
             <section className='mt-2'>
-              {/* <FormCaptcha /> */}
+              <FormCaptcha />
               <TermCondition />
               <Button
                 type='submit'
@@ -169,8 +169,9 @@ const Register = () => {
                 className='w-full mt-2'
                 size='lg'
                 onClick={handleSubmit}
-                // isDisabled = {!isFormValid || !isCheckedTNC || mutation.isLoading || !isValidCaptcha}
-                isDisabled={!isCheckedTNC || mutation.isLoading}
+                isDisabled={
+                  !isCheckedTNC || mutation.isLoading || !isValidCaptcha
+                }
               >
                 {mutation.isLoading ? 'Loading...' : 'Daftar'}
               </Button>
-- 
cgit v1.2.3

