File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const Routes = () => {
2323 < Route path = { [ 'Start.LoadTutorialSummary' , 'Start.LoadTutorialData' , 'Start.SetupNewTutorial' ] } >
2424 < LoadingPage text = "Loading Tutorial..." context = { context } />
2525 </ Route >
26- < Route path = { ' Start.Error' } >
26+ < Route path = " Start.Error" >
2727 < LoadingPage text = "Error" context = { context } />
2828 </ Route >
2929 < Route path = "Start.SelectTutorial" >
@@ -32,11 +32,11 @@ const Routes = () => {
3232 < Route path = "Start.Summary" >
3333 < OverviewPage send = { send } context = { context } />
3434 </ Route >
35- < Route path = "SetupNewTutorial" >
35+ < Route path = "Start. SetupNewTutorial" >
3636 < LoadingPage text = "Configuring tutorial..." context = { context } />
3737 </ Route >
3838 { /* Tutorial */ }
39- < Route path = " Tutorial.LoadNext" >
39+ < Route path = { [ ' Tutorial.LoadNext' , 'Tutorial.Level.Load' ] } >
4040 < LoadingPage text = "Loading Level..." context = { context } />
4141 </ Route >
4242 < Route path = "Tutorial.Level" >
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import * as G from 'typings/graphql'
55import ErrorView from '../../components/Error'
66import queryTutorial from '../../services/apollo/queries/tutorial'
77import OverviewPage from './OverviewPage'
8+ import LoadingPage from '../../containers/LoadingPage'
89
910interface PageProps {
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 < LoadingPage text = " Loading Summary..." context = { props . context } / >
3940 }
4041
4142 if ( error ) {
You can’t perform that action at this time.
0 commit comments