Skip to content

Commit 269fcba

Browse files
committed
refactor: clean up constructor in programmatical-routing documentation and update task reference in display-list documentation
- Removed the constructor definition from the programmatical-routing documentation for clarity. - Updated the reference to the task list file in the display-list documentation for accuracy.
1 parent 4dd1d4c commit 269fcba

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/content/docs/en/create-task/programmatical-routing.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,6 @@ This service allows you to retrieve information about the current route and enab
7070
description: "",
7171
};
7272

73-
constructor(
74-
private taskService: TaskService,
75-
76-
private router: Router,
77-
) {}
78-
7973
submit() {
8074
this.taskService.addTask(this.task);
8175

src/content/docs/en/task-listing/display-list.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Like in Javascript we need to define 2 things:
105105
- the list to iterate over
106106
- a reference to use the value of each list item (you can name it whatever you want)
107107

108-
In our case, we want to iterate over the list of tasks we defined in our `component.ts` file and use the value of each task in the loop.
108+
In our case, we want to iterate over the list of tasks we defined in our `task-list.ts` file and use the value of each task in the loop.
109109
The expected format is `<reference> of <list>`.
110110

111111
```html

0 commit comments

Comments
 (0)