From 4a2911cae031070e2b2ba2839895bcc3e3237e3b Mon Sep 17 00:00:00 2001 From: SumanthBA Date: Fri, 13 Sep 2019 12:26:29 +0530 Subject: [PATCH] final wrap ups --- src/components/searchBar/searchBar.jsx | 4 ---- src/routes.jsx | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) 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 ? :
}