From 8155573cf6c19b137a3812700bab725100f529e8 Mon Sep 17 00:00:00 2001 From: John Papa Date: Fri, 2 Jul 2021 10:50:09 -0400 Subject: [PATCH] spelling fix --- src/app/router.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/router.ts b/src/app/router.ts index 466f24c..de9d430 100644 --- a/src/app/router.ts +++ b/src/app/router.ts @@ -19,16 +19,16 @@ export const routes: Routes = [ loadChildren: () => import('./villains/villains.module').then((m) => m.VillainsModule), /** * Remove the guard and you can route to villains, - * but you still can't get to the data uness you are logged in + * but you still can't get to the data unless you are logged in */ canActivate: [AuthGuard], - data: { preload: true }, + // data: { preload: true }, }, { path: 'admin', loadChildren: () => import('./admin/admin.module').then((m) => m.AdminModule), canLoad: [AuthGuard], - data: { preload: true }, + // data: { preload: true }, }, { path: 'about',