Shun Miyazawa 4 лет назад
Родитель
Сommit
66e55ba6d6
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      packages/app/src/components/InAppNotification/InAppNotificationElm.tsx

+ 3 - 0
packages/app/src/components/InAppNotification/InAppNotificationElm.tsx

@@ -11,6 +11,7 @@ interface Props {
   notification: IInAppNotification & HasObjectId
   notification: IInAppNotification & HasObjectId
 }
 }
 
 
+// TODO 81946 Return to not nullable
 const InAppNotificationElm = (props: Props): JSX.Element | null => {
 const InAppNotificationElm = (props: Props): JSX.Element | null => {
 
 
   const { notification } = props;
   const { notification } = props;
@@ -66,6 +67,8 @@ const InAppNotificationElm = (props: Props): JSX.Element | null => {
   }, []);
   }, []);
 
 
   const actionUsers = getActionUsers();
   const actionUsers = getActionUsers();
+
+  // TODO 81946 Return to not nullable
   const pagePath = { path: props.notification.target?.path };
   const pagePath = { path: props.notification.target?.path };
   if (pagePath.path == null) {
   if (pagePath.path == null) {
     return null;
     return null;