File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ interface Props {
1111const TutorialList = ( props : Props ) => {
1212 const onSelect = ( tutorial : G . Tutorial ) => {
1313 props . send ( {
14- type : 'TUTORIAL_START ' ,
14+ type : 'SELECT_TUTORIAL ' ,
1515 payload : {
1616 tutorial,
1717 } ,
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ const Overview = (props: PageProps) => {
4848
4949 const onNext = ( ) =>
5050 props . send ( {
51- type : 'LOAD_TUTORIAL ' ,
51+ type : 'TUTORIAL_START ' ,
5252 payload : {
5353 tutorial : data . tutorial ,
5454 } ,
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export const createMachine = (options: any) => {
7474 onEntry : [ 'clearStorage' ] ,
7575 id : 'start-new-tutorial' ,
7676 on : {
77- TUTORIAL_START : {
77+ SELECT_TUTORIAL : {
7878 target : 'LoadTutorial' ,
7979 actions : [ 'newTutorial' ] ,
8080 } ,
@@ -101,7 +101,7 @@ export const createMachine = (options: any) => {
101101 Summary : {
102102 on : {
103103 BACK : 'SelectTutorial' ,
104- LOAD_TUTORIAL : {
104+ TUTORIAL_START : {
105105 target : '#tutorial' ,
106106 actions : [ 'initPosition' , 'initTutorial' ] ,
107107 } ,
@@ -110,7 +110,7 @@ export const createMachine = (options: any) => {
110110 ContinueTutorial : {
111111 on : {
112112 TUTORIAL_START : {
113- target : '#tutorial-level ' ,
113+ target : '#tutorial' ,
114114 actions : [ 'continueConfig' ] ,
115115 } ,
116116 TUTORIAL_SELECT : 'SelectTutorial' ,
You can’t perform that action at this time.
0 commit comments