Use explicit type checking.

This commit is contained in:
Skorpios committed 2025-03-11 18:40:53 -07:00
1 parent 9aa0041022
commit b811fb91ca
1 file changed
+1 -1
@@ -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;
}