Skip to content

Commit

Permalink
fix lazy loading syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
amirch1 committed Feb 10, 2020
1 parent af55cae commit 7ff14a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/app-routing/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ const routes: Routes = [
},
{
path: 'user/:id',
loadChildren: '../modules/user/user.module#UserModule'
loadChildren: () => import('../modules/user/user.module').then(m => m.UserModule)
},
{
path: 'user',
loadChildren: '../modules/user/user.module#UserModule'
loadChildren: () => import('../modules/user/user.module').then(m => m.UserModule)
},
{
path: 'entry-live/:id',
Expand Down

0 comments on commit 7ff14a7

Please sign in to comment.