From 2e36c38818eccea32c9fbbac32f07dda96ca4b13 Mon Sep 17 00:00:00 2001 From: Brandon Date: Tue, 18 Apr 2023 16:17:15 -0400 Subject: [PATCH] fix: added back notification types to always show --- .../UserNotificationsWebPush.tsx | 58 +++++++++---------- 1 file changed, 27 insertions(+), 31 deletions(-) diff --git a/src/components/UserProfile/UserSettings/UserNotificationSettings/UserNotificationsWebPush.tsx b/src/components/UserProfile/UserSettings/UserNotificationSettings/UserNotificationsWebPush.tsx index 687d0e9a5..aae9dd29c 100644 --- a/src/components/UserProfile/UserSettings/UserNotificationSettings/UserNotificationsWebPush.tsx +++ b/src/components/UserProfile/UserSettings/UserNotificationSettings/UserNotificationsWebPush.tsx @@ -190,21 +190,19 @@ const UserWebPushSettings = () => { }) => { return (
- {webPushEnabled && ( - { - setFieldValue('types', newTypes); - setFieldTouched('types'); - }} - error={ - errors.types && touched.types - ? (errors.types as string) - : undefined - } - /> - )} + { + setFieldValue('types', newTypes); + setFieldTouched('types'); + }} + error={ + errors.types && touched.types + ? (errors.types as string) + : undefined + } + />
@@ -229,22 +227,20 @@ const UserWebPushSettings = () => { - {webPushEnabled && ( - - - - )} + + +