diff --git a/src/app/commons/guard/auth.guard.ts b/src/app/commons/guard/auth.guard.ts index 7325fb6..a6b794c 100644 --- a/src/app/commons/guard/auth.guard.ts +++ b/src/app/commons/guard/auth.guard.ts @@ -24,7 +24,7 @@ export class AuthGuard implements CanActivate, CanActivateChild { private cookieService: CookieService, ) { } - canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { + canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { return this.store.pipe( select(AuthContainerSelector.selectSignined), map(signined => { @@ -46,7 +46,7 @@ export class AuthGuard implements CanActivate, CanActivateChild { ); } - canActivateChild(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { + canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { return this.store.pipe( select(AuthContainerSelector.selectSignined), map(signined => {