diff --git a/npm/ng-packs/packages/theme-shared/src/lib/services/authentication-error-handler.service.ts b/npm/ng-packs/packages/theme-shared/src/lib/services/authentication-error-handler.service.ts index a3744f1ce7..44dab7e0a1 100644 --- a/npm/ng-packs/packages/theme-shared/src/lib/services/authentication-error-handler.service.ts +++ b/npm/ng-packs/packages/theme-shared/src/lib/services/authentication-error-handler.service.ts @@ -3,13 +3,11 @@ import { AuthService, ConfigStateService } from '@abp/ng.core'; import { HttpErrorResponse } from '@angular/common/http'; import { CustomHttpErrorHandlerService } from '../models/common'; import { CUSTOM_HTTP_ERROR_HANDLER_PRIORITY } from '../constants/default-errors'; -import { Router } from '@angular/router'; @Injectable({ providedIn: 'root' }) export class AbpAuthenticationErrorHandler implements CustomHttpErrorHandlerService { readonly priority = CUSTOM_HTTP_ERROR_HANDLER_PRIORITY.veryHigh; protected readonly authService = inject(AuthService); - protected readonly router = inject(Router); protected readonly configStateService = inject(ConfigStateService); canHandle(error: unknown): boolean {