Skip to content

Commit 805b53b

Browse files
fix(59): typo (#1272)
1 parent 99a3647 commit 805b53b

File tree

1 file changed

+4
-4
lines changed
  • apps/angular/59-content-projection-defer/src/app

1 file changed

+4
-4
lines changed

apps/angular/59-content-projection-defer/src/app/page-2.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ interface Post {
2020
<app-expandable-card>
2121
<div title>Load Post</div>
2222
<div>
23-
@if (postRessource.isLoading()) {
23+
@if (postResource.isLoading()) {
2424
Loading...
25-
} @else if (postRessource.status() === ResourceStatus.Error) {
25+
} @else if (postResource.status() === ResourceStatus.Error) {
2626
Error...
2727
} @else {
28-
@for (post of postRessource.value(); track post.id) {
28+
@for (post of postResource.value(); track post.id) {
2929
<div>{{ post.title }}</div>
3030
}
3131
}
@@ -36,7 +36,7 @@ interface Post {
3636
imports: [ExpandableCard],
3737
})
3838
export class Page2 {
39-
public postRessource = httpResource<Post[]>(
39+
public postResource = httpResource<Post[]>(
4040
'https://jsonplaceholder.typicode.com/posts',
4141
);
4242
protected readonly ResourceStatus = ResourceStatus;

0 commit comments

Comments
 (0)