diff --git a/Frontend/sections/ContactUs/FormLeftDescriptionRightContactUs.tsx b/Frontend/sections/ContactUs/FormLeftDescriptionRightContactUs.tsx index dd4ae0b..f5e4414 100644 --- a/Frontend/sections/ContactUs/FormLeftDescriptionRightContactUs.tsx +++ b/Frontend/sections/ContactUs/FormLeftDescriptionRightContactUs.tsx @@ -44,7 +44,8 @@ const FormLeftDescriptionRightContactUs = () => {

Fill in the form

- {!localStorage.getItem("contactus") ? ( + {typeof window !== "undefined" && + !localStorage.getItem("contactus") ? (
{/* Grid */} diff --git a/Frontend/sections/ModalSignUp/ModalSignUp.tsx b/Frontend/sections/ModalSignUp/ModalSignUp.tsx index 14ea6a8..730415c 100644 --- a/Frontend/sections/ModalSignUp/ModalSignUp.tsx +++ b/Frontend/sections/ModalSignUp/ModalSignUp.tsx @@ -38,7 +38,7 @@ function ModalSignUp() {
-
-

- We Are Growing Fast, and We Want You To Join The Party! -

-

- Excited to see what we've got! Signup and get started! -

-
- { - console.log(data); - reset(); - })} - className="w-full md:w-2/3" - > -
- -
- {errors.email?.message}  -
+
+
+

+ We Are Growing Fast, and We Want You To Join The Party! +

+

+ Excited to see what we've got! Signup and get started! +

-
- -
- {errors.firstName?.message}  + { + console.log(data); + reset(); + })} + className="w-full md:w-2/3" + > +
+ +
+ {errors.email?.message}  +
-
-
- -
- {errors.lastName?.message}  -
-
-
- -
- {errors.phoneNumber?.message}  +
+
+ +
+ {errors.firstName?.message}  +
+
+
+ +
+ {errors.lastName?.message}  +
+
-
-
- -
- {errors.organisation?.message}  + +
+ +
+ {errors.phoneNumber?.message}  +
-
-
- +
+ {errors.organisation?.message}  +
+
+
+ -
- {errors.organisationSize?.message}  + {companySizeList.map((companySizeOption, i) => { + return ( + + ); + })} + +
+ {errors.organisationSize?.message}  +
+
-
-
- -
- {errors.password?.message}  +
+
+ +
+ {errors.password?.message}  +
+
+
+ +
+ {errors.passwordConfirmation?.message}  +
+
-
-
- -
- {errors.passwordConfirmation?.message}  -
-
- - + + +