diff --git a/src/actions/findbar.js b/src/actions/findbar.js index dc1ea0cb..b726ec58 100644 --- a/src/actions/findbar.js +++ b/src/actions/findbar.js @@ -1,5 +1,5 @@ import history from '../routing/history'; -import { SEARCH } from '../components/UI/FindBar/FindBar'; +import { SEARCH } from '../components/FindBar/FindBar'; export const RUN_COMMAND = 'RUN_COMMAND'; export const SHOW_COLLECTION = 'SHOW_COLLECTION'; diff --git a/src/components/UI/AppHeader/AppHeader.css b/src/components/AppHeader/AppHeader.css similarity index 100% rename from src/components/UI/AppHeader/AppHeader.css rename to src/components/AppHeader/AppHeader.css diff --git a/src/components/UI/AppHeader/AppHeader.js b/src/components/AppHeader/AppHeader.js similarity index 100% rename from src/components/UI/AppHeader/AppHeader.js rename to src/components/AppHeader/AppHeader.js diff --git a/src/components/UI/FindBar/FindBar.css b/src/components/FindBar/FindBar.css similarity index 100% rename from src/components/UI/FindBar/FindBar.css rename to src/components/FindBar/FindBar.css diff --git a/src/components/UI/FindBar/FindBar.js b/src/components/FindBar/FindBar.js similarity index 99% rename from src/components/UI/FindBar/FindBar.js rename to src/components/FindBar/FindBar.js index 3f03c86f..c4ac877c 100644 --- a/src/components/UI/FindBar/FindBar.js +++ b/src/components/FindBar/FindBar.js @@ -1,7 +1,7 @@ import React, { Component, PropTypes } from 'react'; import fuzzy from 'fuzzy'; import _ from 'lodash'; -import { Icon } from '../index'; +import { Icon } from '../UI'; import styles from './FindBar.css'; export const SEARCH = 'SEARCH'; @@ -100,8 +100,6 @@ class FindBar extends Component { const paramName = command && command.param ? command.param.name : null; const enteredParamValue = command && command.param && match[1] ? match[1].trim() : null; - console.log(this.props.runCommand); - if (command.search) { this.setState({ activeScope: SEARCH, diff --git a/src/components/UI/index.js b/src/components/UI/index.js index f99eba1c..87b473a5 100644 --- a/src/components/UI/index.js +++ b/src/components/UI/index.js @@ -2,4 +2,3 @@ export { default as Card } from './card/Card'; export { default as Loader } from './loader/Loader'; export { default as Icon } from './icon/Icon'; export { default as Toast } from './toast/Toast'; -export { default as AppHeader } from './AppHeader/AppHeader'; diff --git a/src/containers/App.js b/src/containers/App.js index b394fa0c..b3a4079c 100644 --- a/src/containers/App.js +++ b/src/containers/App.js @@ -13,7 +13,8 @@ import { navigateToCollection, createNewEntryInCollection } from '../actions/findbar'; -import { AppHeader, Loader } from '../components/UI/index'; +import AppHeader from '../components/AppHeader/AppHeader'; +import { Loader } from '../components/UI/index'; import styles from './App.css'; class App extends React.Component {