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

Commit0d31c65

Browse files
committed
ensure tutorial configured before starting
1 parentd84d2b0 commit0d31c65

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

‎src/channel/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class Channel implements Channel {
9898
thrownewError('Invalid tutorial to continue')
9999
}
100100
constcontinueConfig:T.TutorialConfig=tutorialContinue.version.data.config
101-
tutorialConfig(
101+
awaittutorialConfig(
102102
{
103103
config:continueConfig,
104104
alreadyConfigured:true,

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@ export const createMachine = (options: any) => {
101101
Summary:{
102102
on:{
103103
BACK:'SelectTutorial',
104-
TUTORIAL_START:{
105-
target:'LoadTutorialData',
106-
},
104+
TUTORIAL_START:'LoadTutorialData',
107105
},
108106
},
109107
LoadTutorialData:{
@@ -125,8 +123,8 @@ export const createMachine = (options: any) => {
125123
},
126124
SetupNewTutorial:{
127125
onEntry:['configureNewTutorial','startNewTutorial'],
128-
after:{
129-
0:'#tutorial',
126+
on:{
127+
TUTORIAL_CONFIGURED:'#tutorial',
130128
},
131129
},
132130
ContinueTutorial:{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp