Removed “AppHeader” and “FindBar” from UI

This commit is contained in:
Cássio Zen 2016-09-19 15:52:20 -03:00
parent af1c188a86
commit d7363f276e
7 changed files with 4 additions and 6 deletions

View File

@ -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';

View File

@ -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,

View File

@ -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';

View File

@ -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 {