Skip to content

Commit 18e167d

Browse files
Ensure ErrorComponent imports AsyncPipe and NgIf (#468)
1 parent ed53710 commit 18e167d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Standalone/src/app/pages/error/error.component.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { AsyncPipe, NgIf } from '@angular/common';
12
import { Component, OnInit } from '@angular/core';
23
import { Router } from '@angular/router';
34
import { AuthService } from '@auth0/auth0-angular';
@@ -7,7 +8,11 @@ import { takeUntil } from 'rxjs/operators';
78
@Component({
89
selector: 'app-error',
910
templateUrl: './error.component.html',
10-
standalone: true
11+
standalone: true,
12+
imports: [
13+
AsyncPipe,
14+
NgIf
15+
]
1116
})
1217
export class ErrorComponent implements OnInit {
1318

0 commit comments

Comments
 (0)