diff --git a/src/components/EventRegistration/TestEventRegistration.js b/src/components/EventRegistration/TestEventRegistration.js index 524904b896..d7ad1dadd6 100644 --- a/src/components/EventRegistration/TestEventRegistration.js +++ b/src/components/EventRegistration/TestEventRegistration.js @@ -490,32 +490,33 @@ const TestEventRegistration = () => { {/* How Did You Hear About Us Field */}
- - {[ - "Search Engine (Google, Bing, etc.)", - "Social Media", - "Radio", - "Television", - "Streaming Service Ad", - "Newspaper/Online Newspaper", - "Billboard", - "Word of Mouth", - "Referral", - "Others", - ].map((option) => ( + + {[ + "Search Engine (Google, Bing, etc.)", + "Social Media", + "Radio", + "Television", + "Streaming Service Ad", + "Newspaper/Online Newspaper", + "Billboard", + "Word of Mouth", + "Referral", + "Others", + ].map((option) => (
- {option === "Others" && formValues.howDidYouHear.includes("Others") && ( + {option === "Others" && formValues.howDidYouHear === "Others" && ( { /> )}
- ))} - {errors.howDidYouHear && ( - {errors.howDidYouHear} - )} -
+ ))} + {errors.howDidYouHear && ( + {errors.howDidYouHear} + )} + {/* buttons */}