1
1
import * as React from 'react'
2
- import { editorDispatch } from './services/vscode'
2
+ // import { editorDispatch } from './services/vscode'
3
3
4
4
import Router from './components/Router'
5
5
import LoadingPage from './containers/LoadingPage'
@@ -19,6 +19,8 @@ const styles = {
19
19
} ,
20
20
}
21
21
22
+ const tempSend = ( action : any ) => console . log ( 'sent' )
23
+
22
24
const Routes = ( ) => {
23
25
const [ dimensions , setDimensions ] = React . useState ( {
24
26
width : window . innerWidth - 20 ,
@@ -46,7 +48,7 @@ const Routes = () => {
46
48
< LoadingPage text = "Launching..." />
47
49
</ Route >
48
50
< Route path = "Start.NewTutorial.SelectTutorial" >
49
- < NewPage />
51
+ < NewPage send = { tempSend } />
50
52
</ Route >
51
53
< Route path = "Start.NewTutorial.InitializeTutorial" >
52
54
< LoadingPage text = "Launching Tutorial..." />
@@ -61,13 +63,13 @@ const Routes = () => {
61
63
< LoadingPage text = "Loading..." />
62
64
</ Route >
63
65
< Route path = "Tutorial.Summary" >
64
- < SummaryPage send = { editorDispatch } />
66
+ < SummaryPage send = { tempSend } />
65
67
</ Route >
66
68
< Route path = "Tutorial.Level" >
67
- < LevelSummaryPage send = { editorDispatch } />
69
+ < LevelSummaryPage send = { tempSend } />
68
70
</ Route >
69
71
< Route path = "Tutorial.Stage" >
70
- < StageSummaryPage send = { editorDispatch } />
72
+ < StageSummaryPage send = { tempSend } />
71
73
</ Route >
72
74
< Route path = "Tutorial.Completed" >
73
75
< CompletedPage />
0 commit comments