Skip to content

Commit 988b240

Browse files
committed
fix(routes): add Home to routes - breadcrumb issue
1 parent ded4437 commit 988b240

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/routes.js

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const User = React.lazy(() => import('./views/Users/User'));
3838

3939
// https://github.com/ReactTraining/react-router/tree/master/packages/react-router-config
4040
const routes = [
41+
{ path: '/', exact: true, name: 'Home' },
4142
{ path: '/dashboard', name: 'Dashboard', component: Dashboard },
4243
{ path: '/theme', exact: true, name: 'Theme', component: Colors },
4344
{ path: '/theme/colors', name: 'Colors', component: Colors },

0 commit comments

Comments
 (0)