Shun Miyazawa před 4 roky
rodič
revize
c30fa55439

+ 1 - 2
packages/app/src/components/InAppNotification/InAppNotification.tsx

@@ -2,8 +2,7 @@ import React from 'react';
 
 import { UserPicture } from '@growi/ui';
 import { InAppNotification as IInAppNotification } from '../../interfaces/in-app-notification';
-import { PageUpdatedNotification, PageCommentCreatedNotification, PageCommentUpdatedNotification } from './PageContent';
-
+import { PageUpdatedNotification, PageCommentCreatedNotification, PageCommentUpdatedNotification } from './NotificationContent';
 
 interface Props {
   notification: IInAppNotification

+ 3 - 3
packages/app/src/components/InAppNotification/NotificationContent.tsx

@@ -9,7 +9,7 @@ interface Props {
   onClick: () => void
 }
 
-export const PageCommentCreatedNotification = (props: Props) => {
+export const PageCommentCreatedNotification = (props: Props): JSX.Element => {
 
   return (
     <>
@@ -22,7 +22,7 @@ export const PageCommentCreatedNotification = (props: Props) => {
   );
 };
 
-export const PageCommentUpdatedNotification = (props: Props) => {
+export const PageCommentUpdatedNotification = (props: Props): JSX.Element => {
 
   return (
     <>
@@ -35,7 +35,7 @@ export const PageCommentUpdatedNotification = (props: Props) => {
   );
 };
 
-export const PageUpdatedNotification = (props: Props) => {
+export const PageUpdatedNotification = (props: Props): JSX.Element => {
 
   return (
     <>