11import * as React from 'react'
2- import { editorDispatch } from './services/vscode'
2+ // import { editorDispatch } from './services/vscode'
33
44import Router from './components/Router'
55import LoadingPage from './containers/LoadingPage'
@@ -19,6 +19,8 @@ const styles = {
1919 } ,
2020}
2121
22+ const tempSend = ( action : any ) => console . log ( 'sent' )
23+
2224const Routes = ( ) => {
2325 const [ dimensions , setDimensions ] = React . useState ( {
2426 width : window . innerWidth - 20 ,
@@ -46,7 +48,7 @@ const Routes = () => {
4648 < LoadingPage text = "Launching..." />
4749 </ Route >
4850 < Route path = "Start.NewTutorial.SelectTutorial" >
49- < NewPage />
51+ < NewPage send = { tempSend } />
5052 </ Route >
5153 < Route path = "Start.NewTutorial.InitializeTutorial" >
5254 < LoadingPage text = "Launching Tutorial..." />
@@ -61,13 +63,13 @@ const Routes = () => {
6163 < LoadingPage text = "Loading..." />
6264 </ Route >
6365 < Route path = "Tutorial.Summary" >
64- < SummaryPage send = { editorDispatch } />
66+ < SummaryPage send = { tempSend } />
6567 </ Route >
6668 < Route path = "Tutorial.Level" >
67- < LevelSummaryPage send = { editorDispatch } />
69+ < LevelSummaryPage send = { tempSend } />
6870 </ Route >
6971 < Route path = "Tutorial.Stage" >
70- < StageSummaryPage send = { editorDispatch } />
72+ < StageSummaryPage send = { tempSend } />
7173 </ Route >
7274 < Route path = "Tutorial.Completed" >
7375 < CompletedPage />
0 commit comments