Skip to content

Commit

Permalink
update initial values of settings form
Browse files Browse the repository at this point in the history
  • Loading branch information
andreymikhadyuk committed Oct 17, 2023
1 parent 5a8abe1 commit 715a249
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 715a249

Please sign in to comment.