diff --git a/client/src/components/layouts/Default.js b/client/src/components/layouts/Default.js
index e0d8c1ab6c..d0795763bb 100644
--- a/client/src/components/layouts/Default.js
+++ b/client/src/components/layouts/Default.js
@@ -21,7 +21,6 @@ import { flashMessageSelector, removeFlashMessage } from '../Flash/redux';
import { isBrowser } from '../../../utils';
-import WithInstantSearch from '../search/WithInstantSearch';
import OfflineWarning from '../OfflineWarning';
import Flash from '../Flash';
import Header from '../Header';
@@ -201,17 +200,15 @@ class DefaultLayout extends Component {
/>
-
-
-
-
- {hasMessage && flashMessage ? (
-
- ) : null}
- {children}
-
- {showFooter && }
-
+
+
+
+ {hasMessage && flashMessage ? (
+
+ ) : null}
+ {children}
+
+ {showFooter &&
}
);
}
diff --git a/client/src/components/search/searchBar/SearchBar.js b/client/src/components/search/searchBar/SearchBar.js
index 3d35637f7e..774d0a2fd6 100644
--- a/client/src/components/search/searchBar/SearchBar.js
+++ b/client/src/components/search/searchBar/SearchBar.js
@@ -9,6 +9,8 @@ import { isEqual } from 'lodash-es';
import { withTranslation } from 'react-i18next';
import { searchPageUrl } from '../../../utils/algolia-locale-setup';
+import WithInstantSearch from '../WithInstantSearch';
+
import {
isSearchDropdownEnabledSelector,
isSearchBarFocusedSelector,
@@ -177,33 +179,39 @@ export class SearchBar extends Component {
const placeholder = t('search.placeholder');
return (
-