@@ -219,7 +229,6 @@ const LoginPage = () => {
>
)}
-
{/* Footer Text */}
{!IsLoginWithOTP ? (
diff --git a/src/pages/authentication/RegisterPage.jsx b/src/pages/authentication/RegisterPage.jsx
index 65b7d619..6e05cfdb 100644
--- a/src/pages/authentication/RegisterPage.jsx
+++ b/src/pages/authentication/RegisterPage.jsx
@@ -37,33 +37,36 @@ const registerSchema = z.object({
const RegisterPage = () => {
const [registered, setRegristered] = useState(false);
const [industries, setIndustries] = useState([]);
- const [Loading,setLoading] = useState(false)
+ const [Loading, setLoading] = useState(false);
const {
register,
handleSubmit,
- formState: { errors },reset
+ formState: { errors },
+ reset,
} = useForm({
resolver: zodResolver(registerSchema),
});
const onSubmit = async (data) => {
try {
- setLoading(true)
+ setLoading(true);
const response = await MarketRepository.requestDemo(data);
- showToast("Your request has been sent successfully. Please stay in touch!");
+ showToast(
+ "Your request has been sent successfully. Please stay in touch!"
+ );
setRegristered(true);
- setLoading(false)
- reset()
+ setLoading(false);
+ reset();
} catch (error) {
showToast(error.message, "error");
- setLoading(false)
+ setLoading(false);
}
};
useEffect(() => {
fetchIndustries();
}, []);
- useEffect(() => { }, [industries]);
+ useEffect(() => {}, [industries]);
const fetchIndustries = async () => {
try {
@@ -76,11 +79,20 @@ const RegisterPage = () => {
};
return (
<>
-
-
-
Adventure starts here
+
+

+
+
+ OnField
+ Work
+ .com
+
+
+
+
+
Adventure starts here
Make your app management easy and fun!