mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-13 14:23:02 -05:00
fix: detection typo
This commit is contained in:
@@ -39,7 +39,7 @@ this.todos[todoUpdated.id - 1] = todoUpdated;
|
|||||||
this.todos = [...this.todos.filter((t) => t.id !== todoUpdated.id), todoUpdated];
|
this.todos = [...this.todos.filter((t) => t.id !== todoUpdated.id), todoUpdated];
|
||||||
```
|
```
|
||||||
|
|
||||||
- Use **ChangeDectection.OnPush**
|
- Use **ChangeDetection.OnPush**
|
||||||
|
|
||||||
### Step 2: Improve
|
### Step 2: Improve
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user