Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit809597d

Browse files
committed
fixes#107. success on next level
1 parent51819e7 commit809597d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

‎web-app/src/services/state/actions/testNotify.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ const testActions: ActionFunctionMap<CR.MachineContext, CR.MachineEvent> = {
2424
content:event.payload.message,
2525
}),
2626
}),
27+
//@ts-ignore
28+
testClear:assign({
29+
testStatus:null,
30+
}),
2731
}
2832

2933
exportdefaulttestActions

‎web-app/src/services/state/machine.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,10 @@ export const createMachine = (options: any) => {
229229
},
230230
LevelComplete:{
231231
on:{
232-
LEVEL_NEXT:'#tutorial-load-next',
232+
LEVEL_NEXT:{
233+
target:'#tutorial-load-next',
234+
actions:['testClear'],
235+
},
233236
},
234237
},
235238
},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp