diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-04-03 10:52:17 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-04-03 10:52:17 +0700 |
| commit | 495f8cfc8339441fb7256424a3895fb12288fb51 (patch) | |
| tree | ab5a1ff35e29161a68572dfc81c0b90728771aa0 /src/lib/auth/hooks | |
| parent | 596c019af400cc21d2890f875a7570f044866210 (diff) | |
| parent | ceaa64aa3273134fb9ffb851c4f23c468fa2519a (diff) | |
Merge branch 'master' of bitbucket.org:altafixco/next-indoteknik
Diffstat (limited to 'src/lib/auth/hooks')
| -rw-r--r-- | src/lib/auth/hooks/useRegister.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/auth/hooks/useRegister.js b/src/lib/auth/hooks/useRegister.js index 7642a666..2375cf19 100644 --- a/src/lib/auth/hooks/useRegister.js +++ b/src/lib/auth/hooks/useRegister.js @@ -6,6 +6,7 @@ const useRegister = () => { const [isLoading, setIsLoading] = useState(false) const [alert, setAlert] = useState(null) const [isValid, setIsValid] = useState(false) + const [tnd, setTnd] = useState(false) const fullnameRef = useRef(null) const emailRef = useRef(null) @@ -73,7 +74,9 @@ const useRegister = () => { companyNameRef, fullnameRef, emailRef, - passwordRef + passwordRef, + tnd, + setTnd } } |
