We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cccca84 commit b1ee1cfCopy full SHA for b1ee1cf
1 file changed
web-app/src/services/state/machine.ts
@@ -199,11 +199,11 @@ export const createMachine = (options: any) => {
199
},
200
LEVEL_COMPLETE: {
201
target: 'LevelComplete',
202
- actions: ['onLevelComplete'],
203
204
205
206
LevelComplete: {
+ onEntry: ['onLevelComplete'],
207
onExit: ['testClear', 'incrementLevel'],
208
on: {
209
NEXT_LEVEL: 'LoadNext',
0 commit comments