diff --git a/static/src/js/components/navbar/dropdown-item.js b/static/src/js/components/navbar/item.js similarity index 75% rename from static/src/js/components/navbar/dropdown-item.js rename to static/src/js/components/navbar/item.js index 12048a9..bdaa72a 100644 --- a/static/src/js/components/navbar/dropdown-item.js +++ b/static/src/js/components/navbar/item.js @@ -1,6 +1,6 @@ import React from 'react'; -export default class DropdownItem extends React.Component { +export default class Item extends React.Component { render() { return (
  • {this.props.children}
  • diff --git a/static/src/js/components/navbar/navbar.js b/static/src/js/components/navbar/navbar.js index 726f89f..962c8ae 100644 --- a/static/src/js/components/navbar/navbar.js +++ b/static/src/js/components/navbar/navbar.js @@ -1,8 +1,7 @@ import React from 'react'; import Header from './header'; import Dropdown from './dropdown'; -import DropdownItem from './dropdown-item'; -var NavItem = require('react-bootstrap').NavItem; +import Item from './item'; export default class NavBar extends React.Component { render() { @@ -19,27 +18,18 @@ export default class NavBar extends React.Component {