@@ -8,14 +8,15 @@ import CompletedPage from './containers/Tutorial/CompletedPage'
88import LevelSummaryPage from './containers/Tutorial/LevelPage'
99import SelectEmptyWorkspace from './containers/Check/SelectWorkspace'
1010import GitInstalled from './containers/Check/GitInstalled'
11+ import GitRemoteFailed from './containers/Check/GitRemoteFailed'
1112
1213const Routes = ( ) => {
1314 const { context, send, Router, Route } = useRouter ( )
1415 return (
1516 < Workspace >
1617 < Router >
1718 { /* Setup */ }
18- < Route path = { [ 'Setup.Startup' , 'Setup.Authenticate' , 'Setup. LoadStoredTutorial', 'Setup.CheckEmptyWorkspace ' ] } >
19+ < Route path = { [ 'Setup.Startup' , 'Setup.LoadStoredTutorial' , 'Setup.ValidateSetup ' ] } >
1920 < LoadingPage text = "Launching..." context = { context } />
2021 </ Route >
2122 < Route path = "Setup.Start" >
@@ -36,9 +37,12 @@ const Routes = () => {
3637 < Route path = "Setup.SelectTutorial" >
3738 < SelectTutorialPage send = { send } context = { context } />
3839 </ Route >
39- < Route path = " Setup.SetupNewTutorial" >
40+ < Route path = { [ ' Setup.SetupNewTutorial' , 'Setup.StartNewTutorial' ] } >
4041 < LoadingPage text = "Configuring tutorial..." context = { context } />
4142 </ Route >
43+ < Route path = "Setup.GitRemoteFailed" >
44+ < GitRemoteFailed send = { send } error = { context . error } />
45+ </ Route >
4246 { /* Tutorial */ }
4347 < Route path = { [ 'Tutorial.LoadNext' , 'Tutorial.Level.Load' ] } >
4448 < LoadingPage text = "Loading Level..." context = { context } />
0 commit comments