diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-23 09:00:51 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-23 09:00:51 +0700 |
| commit | 4bd29979c34c1ec3b31dd384829b008eb726769c (patch) | |
| tree | 802eb86425e40b8bacda6067aa797c36598a7221 /src-migrate | |
| parent | a784f4623448ff846dbc5c8259405e6cce8fffb7 (diff) | |
<iman> add valid chapta
Diffstat (limited to 'src-migrate')
| -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> |
