Browse Source

FB: renamed a component

kaori 4 years ago
parent
commit
75b142f99e

+ 2 - 2
packages/app/src/components/Navbar/GrowiNavbar.jsx

@@ -7,7 +7,7 @@ import { UncontrolledTooltip } from 'reactstrap';
 import { withUnstatedContainers } from '../UnstatedUtils';
 import NavigationContainer from '~/client/services/NavigationContainer';
 import AppContainer from '~/client/services/AppContainer';
-import HeaderNotification from '~/components/PageEditor/HeaderNotification';
+import InAppNotificationDropdown from '~/components/PageEditor/InAppNotificationDropdown';
 
 
 import GrowiLogo from '../Icons/GrowiLogo';
@@ -35,7 +35,7 @@ class GrowiNavbar extends React.Component {
           </button>
         </li>
         <li>
-          <HeaderNotification />
+          <InAppNotificationDropdown />
         </li>
         <li className="grw-personal-dropdown nav-item dropdown dropdown-toggle dropdown-toggle-no-caret">
           <PersonalDropdown />

+ 2 - 2
packages/app/src/components/PageEditor/HeaderNotification.tsx → packages/app/src/components/PageEditor/InAppNotificationDropdown.tsx

@@ -1,6 +1,6 @@
 import React from 'react';
 import { Dropdown, DropdownToggle, DropdownMenu } from 'reactstrap';
-// import DropdownMenu from './HeaderNotification/DropdownMenu';
+// import DropdownMenu from './InAppNotificationDropdown/DropdownMenu';
 // import Icon from './Common/Icon'
 // import Crowi from 'client/util/Crowi'
 // import { Notification } from 'client/types/crowi'
@@ -17,7 +17,7 @@ interface State {
   open: boolean
 }
 
-export default class HeaderNotification extends React.Component<Props, State> {
+export default class InAppNotificationDropdown extends React.Component<Props, State> {
 
   constructor(props: Props) {
     super(props);