Shun Miyazawa 4 lat temu
rodzic
commit
d5a67d07f1

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

@@ -6,7 +6,7 @@ import { HasObjectId } from '~/interfaces/has-object-id';
 import { apiv3Post } from '~/client/util/apiv3-client';
 import FormattedDistanceDate from '../FormattedDistanceDate';
 
-import { RenderPageModelNotification } from './renderTargetModel/page';
+import RenderPageModelNotification from './renderTargetModel/page/RenderPageModelNotification';
 
 interface Props {
   notification: IInAppNotification & HasObjectId

+ 4 - 2
packages/app/src/components/InAppNotification/renderTargetModel/RenderPageModelNotification.tsx → packages/app/src/components/InAppNotification/renderTargetModel/page/RenderPageModelNotification.tsx

@@ -4,7 +4,7 @@ import { apiv3Post } from '~/client/util/apiv3-client';
 
 import { IInAppNotification } from '~/interfaces/in-app-notification';
 import { HasObjectId } from '~/interfaces/has-object-id';
-import FormattedDistanceDate from '../../FormattedDistanceDate';
+import FormattedDistanceDate from '../../../FormattedDistanceDate';
 
 interface Props {
   notification: IInAppNotification & HasObjectId
@@ -13,7 +13,7 @@ interface Props {
   actionUsers: string
 }
 
-export const RenderPageModelNotification = (props: Props): JSX.Element => {
+const RenderPageModelNotification = (props: Props): JSX.Element => {
   const {
     notification, actionMsg, actionIcon, actionUsers,
   } = props;
@@ -49,3 +49,5 @@ export const RenderPageModelNotification = (props: Props): JSX.Element => {
     </div>
   );
 };
+
+export default RenderPageModelNotification;