Skip to content

Commit

Permalink
Merge pull request #2208 from daostack/bugfix/CW-2202-default-setting…
Browse files Browse the repository at this point in the history
…s-prod

change default settings for notification and emails #2202
  • Loading branch information
andreymikhadyuk authored Oct 17, 2023
2 parents 5a8abe1 + 715a249 commit 3900c7d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ const getInitialValues = (
> | null,
): FormValues => ({
pushNotificationPreference:
data?.pushNotificationPreference ?? UserPushNotificationPreference.None,
data?.pushNotificationPreference ?? UserPushNotificationPreference.All,
emailNotificationPreference:
data?.emailNotificationPreference ?? UserEmailNotificationPreference.None,
data?.emailNotificationPreference ?? UserEmailNotificationPreference.All,
});

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

0 comments on commit 3900c7d

Please sign in to comment.