Skip to content

Commit 640ed03

Browse files
authored
Update scaling-up-with-reducer-and-context.md
1 parent 027c7f0 commit 640ed03

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/content/learn/scaling-up-with-reducer-and-context.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function tasksReducer(tasks, action) {
9999

100100
let nextId = 3;
101101
const initialTasks = [
102-
{ id: 0, text: 'Le chemin du philosophe', done: true },
102+
{ id: 0, text: 'La promenade du philosophe', done: true },
103103
{ id: 1, text: 'Visiter le temple', done: false },
104104
{ id: 2, text: 'Boire du thé matcha', done: false }
105105
];
@@ -333,7 +333,7 @@ function tasksReducer(tasks, action) {
333333

334334
let nextId = 3;
335335
const initialTasks = [
336-
{ id: 0, text: 'Le chemin du philosophe', done: true },
336+
{ id: 0, text: 'La promenade du philosophe', done: true },
337337
{ id: 1, text: 'Visiter le temple', done: false },
338338
{ id: 2, text: 'Boire du thé matcha', done: false }
339339
];
@@ -554,7 +554,7 @@ function tasksReducer(tasks, action) {
554554

555555
let nextId = 3;
556556
const initialTasks = [
557-
{ id: 0, text: 'Le chemin du philosophe', done: true },
557+
{ id: 0, text: 'La promenade du philosophe', done: true },
558558
{ id: 1, text: 'Visiter le temple', done: false },
559559
{ id: 2, text: 'Boire du thé matcha', done: false }
560560
];
@@ -768,7 +768,7 @@ function tasksReducer(tasks, action) {
768768
}
769769

770770
const initialTasks = [
771-
{ id: 0, text: 'Le chemin du philosophe', done: true },
771+
{ id: 0, text: 'La promenade du philosophe', done: true },
772772
{ id: 1, text: 'Visiter le temple', done: false },
773773
{ id: 2, text: 'Boire du thé matcha', done: false }
774774
];
@@ -999,7 +999,7 @@ function tasksReducer(tasks, action) {
999999
}
10001000

10011001
const initialTasks = [
1002-
{ id: 0, text: 'Le chemin du philosophe', done: true },
1002+
{ id: 0, text: 'La promenade du philosophe', done: true },
10031003
{ id: 1, text: 'Visiter le temple', done: false },
10041004
{ id: 2, text: 'Boire du thé matcha', done: false }
10051005
];
@@ -1218,7 +1218,7 @@ function tasksReducer(tasks, action) {
12181218
}
12191219

12201220
const initialTasks = [
1221-
{ id: 0, text: 'Le chemin du philosophe', done: true },
1221+
{ id: 0, text: 'La promenade du philosophe', done: true },
12221222
{ id: 1, text: 'Visiter le temple', done: false },
12231223
{ id: 2, text: 'Boire du thé matcha', done: false }
12241224
];

0 commit comments

Comments
 (0)