We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60a8a9f + 480a85f commit 5e36692Copy full SHA for 5e36692
lessons/using-parallel-states/after.js
@@ -15,10 +15,10 @@ const spaceHeaterMachine = Machine({
15
initial: 'lowHeat',
16
states: {
17
lowHeat: {
18
- on: { TOGGLE_HEAT: 'lowHeat' },
+ on: { TOGGLE_HEAT: 'highHeat' },
19
},
20
highHeat: {
21
- on: { TOGGLE_HEAT: 'highHeat' },
+ on: { TOGGLE_HEAT: 'lowHeat' },
22
23
24
0 commit comments