mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
Fix & connectors folder
This commit is contained in:
@@ -9,7 +9,6 @@ import PrivateRoute from 'components/PrivateRoute';
|
||||
import Authentication from 'components/Authentication';
|
||||
import Dashboard from 'components/Dashboard/Dashboard';
|
||||
import GlobalErrors from 'containers/GlobalErrors/GlobalErrors';
|
||||
import AuthenticationDialogs from 'containers/Authentication/AuthenticationDialogs';
|
||||
|
||||
import messages from 'lang/en';
|
||||
import 'style/App.scss';
|
||||
@@ -30,7 +29,6 @@ function App({ locale }) {
|
||||
<Switch>
|
||||
<Route path={'/auth'}>
|
||||
<Authentication />
|
||||
<AuthenticationDialogs />
|
||||
</Route>
|
||||
|
||||
<Route path={'/'}>
|
||||
|
||||
@@ -11,7 +11,7 @@ import { FormattedMessage as T } from 'react-intl';
|
||||
|
||||
import DashboardTopbarUser from 'components/Dashboard/TopbarUser';
|
||||
import DashboardBreadcrumbs from 'components/Dashboard/DashboardBreadcrumbs';
|
||||
import SearchConnect from 'connectors/Search.connect';
|
||||
import withSearch from 'containers/GeneralSearch/withSearch'
|
||||
import Icon from 'components/Icon';
|
||||
|
||||
import { compose } from 'utils';
|
||||
@@ -113,6 +113,6 @@ const mapStateToProps = (state) => ({
|
||||
});
|
||||
|
||||
export default compose(
|
||||
SearchConnect,
|
||||
withSearch,
|
||||
connect(mapStateToProps)
|
||||
)(DashboardTopbar);
|
||||
|
||||
Reference in New Issue
Block a user