diff --git a/src/components/searchBar/searchBar.jsx b/src/components/searchBar/searchBar.jsx index 7959383..c96db55 100644 --- a/src/components/searchBar/searchBar.jsx +++ b/src/components/searchBar/searchBar.jsx @@ -114,10 +114,6 @@ class SearchBar extends Component{ ); }; - componentDidMount () { - this.onSuggestionClickHanlder('hello'); - }; - render(){ const {suggestionsList, searchParam} = this.props.searchBar; return( diff --git a/src/routes.jsx b/src/routes.jsx index 88981cf..cd32831 100644 --- a/src/routes.jsx +++ b/src/routes.jsx @@ -50,7 +50,7 @@ class Routes extends Component{ return( - {/*{ this.state.showModal ? :
}*/} + { this.state.showModal ? :
}