feat(client): use url query param on search page

This commit is contained in:
ValeraS
2019-06-10 22:53:15 +03:00
committed by Mrugesh Mohapatra
parent aee2f5e536
commit 84c46750e8
4 changed files with 76 additions and 20 deletions

View File

@@ -132,7 +132,6 @@ class DefaultLayout extends Component {
isSignedIn,
landingPage,
navigationMenu,
pathname,
removeFlashMessage,
showFooter = true
} = this.props;
@@ -151,7 +150,7 @@ class DefaultLayout extends Component {
>
<style>{fontawesome.dom.css()}</style>
</Helmet>
<WithInstantSearch pathname={pathname}>
<WithInstantSearch>
<Header
disableSettings={landingPage}
navigationMenu={navigationMenu}