Просмотр исходного кода

rename inAppNotification interface

kaori 4 лет назад
Родитель
Сommit
13633c0cc6

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

@@ -3,7 +3,7 @@ import React from 'react';
 import { UserPicture } from '@growi/ui';
 import { PageCommentInAppNotification } from './PageCommentInAppNotification';
 import { PageUpdateInAppNotification } from './PageUpdateInAppNotification';
-import { InAppNotification as IInAppNotification } from '../../interfaces/in-app-notification';
+import { IInAppNotification } from '../../interfaces/in-app-notification';
 import FormattedDistanceDate from '../FormattedDistanceDate';
 
 interface Props {

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

@@ -6,7 +6,7 @@ import loggerFactory from '~/utils/logger';
 
 import AppContainer from '../../client/services/AppContainer';
 import { withUnstatedContainers } from '../UnstatedUtils';
-import { InAppNotification as IInAppNotification } from '../../interfaces/in-app-notification';
+import { IInAppNotification } from '../../interfaces/in-app-notification';
 import { InAppNotification } from './InAppNotification';
 import SocketIoContainer from '../../client/services/SocketIoContainer';
 

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

@@ -1,5 +1,5 @@
 import React from 'react';
-import { InAppNotification as IInAppNotification } from '../../interfaces/in-app-notification';
+import { IInAppNotification } from '../../interfaces/in-app-notification';
 
 interface Props {
   actionUsers: string

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

@@ -1,5 +1,5 @@
 import React from 'react';
-import { InAppNotification as IInAppNotification } from '../../interfaces/in-app-notification';
+import { IInAppNotification } from '../../interfaces/in-app-notification';
 
 interface Props {
   actionUsers: string

+ 1 - 1
packages/app/src/server/routes/apiv3/in-app-notification.ts

@@ -1,5 +1,5 @@
 import { InAppNotification } from '../../models/in-app-notification';
-import { InAppNotification as IInAppNotification } from '../../../interfaces/in-app-notification';
+import { IInAppNotification } from '../../../interfaces/in-app-notification';
 
 const express = require('express');
 const { serializeUserSecurely } = require('../../models/serializers/user-serializer');