diff --git a/frontend/src/components/EventForm.tsx b/frontend/src/components/EventForm.tsx index 73a8084..940bcde 100644 --- a/frontend/src/components/EventForm.tsx +++ b/frontend/src/components/EventForm.tsx @@ -224,46 +224,6 @@ const EventForm: React.FC = () => { helperText="Set to 0 for no additional guests, -1 for unlimited" inputProps={{ min: -1 }} /> - - - { - setFormData((prev) => ({ - ...prev, - email_notifications_enabled: e.target.checked, - })); - }} - sx={{ - color: 'rgba(255, 255, 255, 0.7)', - '&.Mui-checked': { - color: '#90caf9', - }, - }} - /> - } - label="Enable Email Notifications" - sx={{ - color: 'rgba(255, 255, 255, 0.9)', - }} - /> - - - {formData.email_notifications_enabled && ( - - )} { + + + Email Notifications + + + + { + setFormData((prev) => ({ + ...prev, + email_notifications_enabled: e.target.checked, + })); + }} + sx={{ + color: 'rgba(255, 255, 255, 0.7)', + '&.Mui-checked': { + color: '#90caf9', + }, + }} + /> + } + label="Enable Email Notifications" + sx={{ + color: 'rgba(255, 255, 255, 0.9)', + }} + /> + + + {formData.email_notifications_enabled && ( + + )} + +