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

Commitd91b259

Browse files
committed
rename select tutorial actions
1 parent7fb8712 commitd91b259

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

‎web-app/src/containers/New/TutorialList/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface Props {
1111
constTutorialList=(props:Props)=>{
1212
constonSelect=(tutorial:G.Tutorial)=>{
1313
props.send({
14-
type:'TUTORIAL_START',
14+
type:'SELECT_TUTORIAL',
1515
payload:{
1616
tutorial,
1717
},

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const Overview = (props: PageProps) => {
4848

4949
constonNext=()=>
5050
props.send({
51-
type:'LOAD_TUTORIAL',
51+
type:'TUTORIAL_START',
5252
payload:{
5353
tutorial:data.tutorial,
5454
},

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp