Skip to content

Commit e3519c0

Browse files
committed
fix annotations
1 parent 8e57183 commit e3519c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

MyApp.Client/src/app/todomvc/todos.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@
110110
<div class="mt-8 flex justify-center gap-x-4">
111111
<src-page path="todomvc/todos.component.html"></src-page>
112112
</div>
113-
</app-page>
113+
</app-page>

MyApp.Client/src/app/todomvc/todos.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export class TodoMvcComponent implements OnInit {
109109
}
110110

111111
startEditing(todo: Todo): void {
112-
this.editingTodoId = todo.id!;
112+
this.editingTodoId = todo.id;
113113
this.editingTodoText = todo.text;
114114
}
115115

@@ -131,7 +131,7 @@ export class TodoMvcComponent implements OnInit {
131131
}
132132
});
133133
} else {
134-
this.deleteTodo(todo.id!);
134+
this.deleteTodo(todo.id);
135135
}
136136
this.editingTodoId = null;
137137
}

0 commit comments

Comments
 (0)