diff --git a/src/views/NewSubscriptionModal/index.tsx b/src/views/NewSubscriptionModal/index.tsx index 4b13e7d..3e3c833 100644 --- a/src/views/NewSubscriptionModal/index.tsx +++ b/src/views/NewSubscriptionModal/index.tsx @@ -242,7 +242,6 @@ const formSchema: FormSchema = { }, notifyByEmail: { required: true, - defaultValue: false, }, emailFrequency: { required: !!value?.notifyByEmail, @@ -280,7 +279,7 @@ function NewSubscriptionModal(props: Props) { filterAlertCountry: subscription?.filterAlertCountry, filterAlertAdmin1s: subscription?.filterAlertAdmin1s ?? [], - notifyByEmail: subscription?.notifyByEmail, + notifyByEmail: subscription?.notifyByEmail ?? false, emailFrequency: subscription?.emailFrequency ?? UserAlertSubscriptionEmailFrequencyEnum.Monthly, }), [subscription]);