Skip to content

Commit 5e36692

Browse files
authored
Merge pull request kyleshevlin#2 from davydof/patch-1
fix: 16 lesson
2 parents 60a8a9f + 480a85f commit 5e36692

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lessons/using-parallel-states/after.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ const spaceHeaterMachine = Machine({
1515
initial: 'lowHeat',
1616
states: {
1717
lowHeat: {
18-
on: { TOGGLE_HEAT: 'lowHeat' },
18+
on: { TOGGLE_HEAT: 'highHeat' },
1919
},
2020
highHeat: {
21-
on: { TOGGLE_HEAT: 'highHeat' },
21+
on: { TOGGLE_HEAT: 'lowHeat' },
2222
},
2323
},
2424
},

0 commit comments

Comments
 (0)