File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ export interface MachineStateSchema {
7878 Summary : { }
7979 LoadTutorialData : { }
8080 SetupNewTutorial : { }
81- ContinueTutorial : { }
8281 }
8382 }
8483 Tutorial : {
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ interface ContainerProps {
8787const StartPageContainer = ( { context, send } : ContainerProps ) => {
8888 const tutorial = context . tutorial || undefined
8989 return (
90- < StartPage onContinue = { ( ) => send ( 'TUTORIAL_START ' ) } onNew = { ( ) => send ( 'TUTORIAL_SELECT ' ) } tutorial = { tutorial } />
90+ < StartPage onContinue = { ( ) => send ( 'CONTINUE_TUTORIAL ' ) } onNew = { ( ) => send ( 'NEW_TUTORIAL ' ) } tutorial = { tutorial } />
9191 )
9292}
9393
Original file line number Diff line number Diff 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 : {
You can’t perform that action at this time.
0 commit comments