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

Commitfeeaf97

Browse files
committed
fix loading pages
1 parentf7d82c8 commitfeeaf97

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎web-app/src/Routes.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const Routes = () => {
2323
<Routepath={['Start.LoadTutorialSummary','Start.LoadTutorialData','Start.SetupNewTutorial']}>
2424
<LoadingPagetext="Loading Tutorial..."context={context}/>
2525
</Route>
26-
<Routepath={'Start.Error'}>
26+
<Routepath="Start.Error">
2727
<LoadingPagetext="Error"context={context}/>
2828
</Route>
2929
<Routepath="Start.SelectTutorial">
@@ -32,11 +32,11 @@ const Routes = () => {
3232
<Routepath="Start.Summary">
3333
<OverviewPagesend={send}context={context}/>
3434
</Route>
35-
<Routepath="SetupNewTutorial">
35+
<Routepath="Start.SetupNewTutorial">
3636
<LoadingPagetext="Configuring tutorial..."context={context}/>
3737
</Route>
3838
{/* Tutorial */}
39-
<Routepath="Tutorial.LoadNext">
39+
<Routepath={['Tutorial.LoadNext','Tutorial.Level.Load']}>
4040
<LoadingPagetext="Loading Level..."context={context}/>
4141
</Route>
4242
<Routepath="Tutorial.Level">

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import * as G from 'typings/graphql'
55
importErrorViewfrom'../../components/Error'
66
importqueryTutorialfrom'../../services/apollo/queries/tutorial'
77
importOverviewPagefrom'./OverviewPage'
8+
importLoadingPagefrom'../../containers/LoadingPage'
89

910
interfacePageProps{
1011
context:CR.MachineContext
@@ -35,7 +36,7 @@ const Overview = (props: PageProps) => {
3536
})
3637

3738
if(loading){
38-
return<div>Loading Summary...</div>
39+
return<LoadingPagetext="Loading Summary..."context={props.context}/>
3940
}
4041

4142
if(error){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp