From b811fb91ca0b921560f4d1d80aee1f32a1099a6e Mon Sep 17 00:00:00 2001 From: Skorpios Date: Tue, 11 Mar 2025 18:40:53 -0700 Subject: [PATCH] Use explicit type checking. --- .../Components/NotificationIntegrationModal.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/NotificationIntegrationModal/Components/NotificationIntegrationModal.jsx b/src/Components/NotificationIntegrationModal/Components/NotificationIntegrationModal.jsx index 85b5232f3..b9e16f5d4 100644 --- a/src/Components/NotificationIntegrationModal/Components/NotificationIntegrationModal.jsx +++ b/src/Components/NotificationIntegrationModal/Components/NotificationIntegrationModal.jsx @@ -138,7 +138,7 @@ const NotificationIntegrationModal = ({ // Get the notification type details const notificationType = activeNotificationTypes.find(t => t.id === type); - if (notificationType === undefined) { + if (typeof notificationType === undefined) { return; }