diff --git a/embark-ui/src/components/ExplorerLayout.js b/embark-ui/src/components/ExplorerLayout.js index d322b3fa0..ba3975b59 100644 --- a/embark-ui/src/components/ExplorerLayout.js +++ b/embark-ui/src/components/ExplorerLayout.js @@ -8,21 +8,17 @@ import BlockContainer from '../containers/BlockContainer'; import TransactionsContainer from '../containers/TransactionsContainer'; import TransactionContainer from '../containers/TransactionContainer'; -class ExplorerLayout extends React.Component { - render() { - return ( - - - - - - - - - - - ); - } -} +const ExplorerLayout = () => ( + + + + + + + + + + +); export default ExplorerLayout; diff --git a/embark-ui/src/components/Layout.js b/embark-ui/src/components/Layout.js index 6dfdbe08f..e5bff8e5d 100644 --- a/embark-ui/src/components/Layout.js +++ b/embark-ui/src/components/Layout.js @@ -130,7 +130,9 @@ class Layout extends React.Component { renderRightNav() { return (); diff --git a/embark-ui/src/components/Loading.js b/embark-ui/src/components/Loading.js index 97cb0301b..a03ad9b61 100644 --- a/embark-ui/src/components/Loading.js +++ b/embark-ui/src/components/Loading.js @@ -7,7 +7,7 @@ import "./Loading.css"; const Loading = () => ( - + ); diff --git a/embark-ui/src/components/SearchBar.js b/embark-ui/src/components/SearchBar.js index 137e86c14..4ab27dc61 100644 --- a/embark-ui/src/components/SearchBar.js +++ b/embark-ui/src/components/SearchBar.js @@ -2,6 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import {Form, FormGroup, Input, Button, Row, Col} from 'reactstrap'; import FontAwesome from 'react-fontawesome'; +import classNames from 'classnames'; import './search.css'; @@ -33,19 +34,16 @@ class SearchBar extends React.Component { render() { return ( - - -
- - this.onChange(e)} - value={this.state.searchValue} onKeyPress={e => this.onKeyPress(e)} /> - - -
- -
+
+ + this.onChange(e)} + value={this.state.searchValue} onKeyPress={e => this.onKeyPress(e)}/> + + +
); } } diff --git a/embark-ui/src/components/search.css b/embark-ui/src/components/search.css index 332ea6f2f..9ca738e25 100644 --- a/embark-ui/src/components/search.css +++ b/embark-ui/src/components/search.css @@ -22,12 +22,6 @@ margin-top: 16px; } -.search-loading .fa-spinner { - font-size: 2em; - vertical-align: middle; - margin-left: 10px; -} - .search-error-close { position: absolute; cursor: pointer;