diff --git a/frontend/components/ClubEditPage/ClubEditCard.tsx b/frontend/components/ClubEditPage/ClubEditCard.tsx
index 3fb9250fc..a6caff698 100644
--- a/frontend/components/ClubEditPage/ClubEditCard.tsx
+++ b/frontend/components/ClubEditPage/ClubEditCard.tsx
@@ -170,19 +170,28 @@ const EmailModal = ({
show={true}
closeModal={closeModal}
children={
-
-
+
+
Warning: This email will be down to the public. We highly recommend
you don't use a personal email, and instead use a club email. Feel
free to ignore this if the email is not a personal email.
-
+
setEmail(e.target.value)}
+ className={`input`}
+ style={{ maxWidth: '350px', marginBottom: '12px' }}
>
-
Confirm
+
+
+ Confirm
+
+
}
/>
@@ -919,19 +928,21 @@ export default function ClubEditCard({
enableReinitialize
validate={(values) => {
const errors: { email?: string } = {}
- if (values.email.includes('upenn.edu')) {
+ if (values.email.includes('upenn.edu') && !emailModal) {
showEmailModal(true)
errors.email = 'Please confirm your email'
}
return errors
}}
+ validateOnChange={false}
+ validateOnBlur={false}
>
- {({ dirty, isSubmitting, setFieldValue, submitForm }) => (
+ {({ dirty, isSubmitting, setFieldValue, submitForm, values }) => (