diff --git a/web/components/notifications.tsx b/web/components/notifications.tsx index fdba78c6..799db580 100644 --- a/web/components/notifications.tsx +++ b/web/components/notifications.tsx @@ -107,7 +107,7 @@ function LoadedNotificationSettings(props: {privateUser: PrivateUser}) { key={type} type={type} question={question} - selected={prefs[type]} + selected={prefs[type] ?? NOTIFICATION_DESTINATION_TYPES} onUpdate={(selected) => { setPrefs((prevPrefs) => ({...prevPrefs, [type]: selected})) }}