Skip to content

Commit

Permalink
update default email notifications prefernce if emailNotificationPref…
Browse files Browse the repository at this point in the history
…erence is absence
  • Loading branch information
roienatan committed Dec 27, 2023
1 parent cc8d542 commit a2a0c33
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ const getInitialValues = (
pushNotificationPreference:
data?.pushNotificationPreference ?? UserPushNotificationPreference.All,
emailNotificationPreference:
data?.emailNotificationPreference ?? UserEmailNotificationPreference.All,
data?.emailNotificationPreference ??
UserEmailNotificationPreference.Important,
});

const SettingsForm: FC<SettingsFormProps> = (props) => {
Expand Down

0 comments on commit a2a0c33

Please sign in to comment.