I have a custom ErrorHandler, and when navigateByUrl gets called i can see the login page but i cant click on the form
```
import { ErrorHandler, Injectable, Injector } from ‘@angular/core’;
import { Router } from ‘@angular/router’;
import { Storage } from ‘@ionic/storage’;
import { TOKEN_NAME } from ‘…/…/api.config’;
@Injectable()
export class AuthErrorHandler implements ErrorHandler {
constructor(private injector: Injector) { }
handleError(error) {
console.error(error);
const router = this.injector.get(Router);
const storage = this.injector.get(Storage);
if(error === ‘401’ || ‘403’) {
router.navigateByUrl(’/login’);
storage.remove(TOKEN_NAME);
}
}
}
```