Fix & connectors folder

This commit is contained in:
elforjani3
2020-06-01 19:21:47 +02:00
parent c1659d191f
commit e1f56c873b
51 changed files with 665 additions and 632 deletions

View File

@@ -2,7 +2,7 @@ import React from 'react';
import { Omnibar } from '@blueprintjs/select';
import { MenuItem } from '@blueprintjs/core';
import { compose } from 'utils';
import SearchConnect from 'connectors/Search.connect';
import withSearch from 'containers/GeneralSearch/withSearch';
function Search({
resultSearch,
@@ -30,7 +30,7 @@ function Search({
<Omnibar
className={'navbar-omnibar'}
isOpen={globalSearchShow}
noResults={<MenuItem disabled={true} text='No results.' />}
noResults={<MenuItem disabled={true} text="No results." />}
onClose={() => closeGlobalSearch(false)}
resetOnSelect={true}
itemRenderer={renderSearch}
@@ -41,4 +41,4 @@ function Search({
);
}
export default compose(SearchConnect)(Search);
export default compose(withSearch)(Search);