From 3ab2c01595b12534b68064d673f1c50c96d3450c Mon Sep 17 00:00:00 2001 From: "HATEC\\SPVDEV001" Date: Mon, 3 Apr 2023 09:22:55 +0700 Subject: tnd --- src/lib/auth/hooks/useRegister.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/auth/hooks') 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 } } -- cgit v1.2.3