fix circular dependency
This commit is contained in:
parent
1ab13261d7
commit
987c047427
@ -1,5 +1,4 @@
|
||||
import React from 'react';
|
||||
import DefaultLayout from './containers/DefaultLayout';
|
||||
|
||||
const Breadcrumbs = React.lazy(() => import('./views/Base/Breadcrumbs'));
|
||||
const Cards = React.lazy(() => import('./views/Base/Cards'));
|
||||
@ -39,7 +38,6 @@ const User = React.lazy(() => import('./views/Users/User'));
|
||||
|
||||
// https://github.com/ReactTraining/react-router/tree/master/packages/react-router-config
|
||||
const routes = [
|
||||
{ path: '/', exact: true, name: 'Home', component: DefaultLayout },
|
||||
{ path: '/dashboard', name: 'Dashboard', component: Dashboard },
|
||||
{ path: '/theme', exact: true, name: 'Theme', component: Colors },
|
||||
{ path: '/theme/colors', name: 'Colors', component: Colors },
|
||||
|
Loading…
Reference in New Issue
Block a user