Futa Arai 3 месяцев назад
Родитель
Сommit
7bee4939d6

+ 1 - 1
apps/app/src/client/components/Admin/Notification/ManageGlobalNotification.tsx

@@ -34,7 +34,7 @@ const ManageGlobalNotification = (props: Props): JSX.Element => {
   const [notifyType, setNotifyType] = useState<NotifyType>(NotifyType.Email);
   const [emailToSend, setEmailToSend] = useState('');
   const [slackChannelToSend, setSlackChannelToSend] = useState('');
-  const [triggerEvents, setTriggerEvents] = useState(new Set());
+  const [triggerEvents, setTriggerEvents] = useState(new Set<string>());
   const { data: globalNotificationData, update: updateGlobalNotification } =
     useSWRxGlobalNotification(props.globalNotificationId || '');
   const globalNotification = useMemo(