diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-23 09:22:29 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-23 09:22:29 +0700 |
| commit | c13bb5c6f78032695b24cf8a6c23942eb465c6d5 (patch) | |
| tree | e48c1ab39a61fd5702f578fbfdb7a7375cc1ce43 /src-migrate/modules/register/index.tsx | |
| parent | 870bede9df9920b23f2e5cb771ff5ae6448e3ac7 (diff) | |
| parent | 4bd29979c34c1ec3b31dd384829b008eb726769c (diff) | |
Merge branch 'Feature/new-register' into Feature/switch-account
Diffstat (limited to 'src-migrate/modules/register/index.tsx')
| -rw-r--r-- | src-migrate/modules/register/index.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
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> |
