Skip to content

Commit

Permalink
Swap required user info fields
Browse files Browse the repository at this point in the history
I accidentally swapped the logic. It should be EMAIL that is required.
NOT PHONE.
  • Loading branch information
spaceo committed Oct 10, 2023
1 parent bfbe036 commit 26e7564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/contact-info-section/ContactInfoSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const ContactInfoSection: FC<ContactInfoSectionProps> = ({
changePatron={changePatron}
patron={patron}
showCheckboxes={showCheckboxes && textNotificationsEnabledConfig}
isRequired
/>
<ContactInfoEmail
className={clsx(inputsClass, {
Expand All @@ -52,6 +51,7 @@ const ContactInfoSection: FC<ContactInfoSectionProps> = ({
changePatron={changePatron}
patron={patron}
showCheckboxes={showCheckboxes}
isRequired
/>
</ContactInfoInputs>
</section>
Expand Down

0 comments on commit 26e7564

Please sign in to comment.