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

Commit659438a

Browse files
committed
cleanup startup
1 parent17fa85f commit659438a

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

‎typings/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ export interface MachineStateSchema {
7878
Summary:{}
7979
LoadTutorialData:{}
8080
SetupNewTutorial:{}
81-
ContinueTutorial:{}
8281
}
8382
}
8483
Tutorial:{

‎web-app/src/containers/Start/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ interface ContainerProps {
8787
constStartPageContainer=({ context, send}:ContainerProps)=>{
8888
consttutorial=context.tutorial||undefined
8989
return(
90-
<StartPageonContinue={()=>send('TUTORIAL_START')}onNew={()=>send('TUTORIAL_SELECT')}tutorial={tutorial}/>
90+
<StartPageonContinue={()=>send('CONTINUE_TUTORIAL')}onNew={()=>send('NEW_TUTORIAL')}tutorial={tutorial}/>
9191
)
9292
}
9393

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

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,11 @@ export const createMachine = (options: any) => {
6868
},
6969
Start:{
7070
on:{
71-
CONTINUE_TUTORIAL:'ContinueTutorial',
7271
NEW_TUTORIAL:'SelectTutorial',
72+
CONTINUE_TUTORIAL:{
73+
target:'#tutorial-level',
74+
actions:['continueConfig'],
75+
},
7376
},
7477
},
7578
SelectTutorial:{
@@ -129,15 +132,6 @@ export const createMachine = (options: any) => {
129132
TUTORIAL_CONFIGURED:'#tutorial',
130133
},
131134
},
132-
ContinueTutorial:{
133-
on:{
134-
TUTORIAL_START:{
135-
target:'#tutorial-level',
136-
actions:['continueConfig'],
137-
},
138-
TUTORIAL_SELECT:'SelectTutorial',
139-
},
140-
},
141135
},
142136
},
143137
Tutorial:{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp