refactor: clean code

This commit is contained in:
2024-08-24 04:28:53 +03:00
parent b215d8909c
commit eada16110b
4 changed files with 24 additions and 16 deletions

View File

@ -20,7 +20,7 @@ export class HasRoleDirective {
this.authService
.getRole()
.pipe(catchError(error => {
.pipe(catchError(_ => {
this.viewContainer.clear();
return of(null);
}))