File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ const Routes = () => {
1919 return < ErrorView send = { send } error = { context . error } />
2020 }
2121
22- console . log ( `ROUTE: ${ route } ` )
23-
2422 return (
2523 < Router route = { route } >
2624 { /* Setup */ }
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import * as T from 'typings'
22import * as TT from 'typings/tutorial'
33import { assign , send } from 'xstate'
44import * as selectors from '../../selectors'
5- import logger from '../../../services/logger'
65import getStepNext from './utils/stepNext'
76import getNext from './utils/getNext'
87
@@ -66,14 +65,6 @@ export const updatePosition = assign({
6665 } ,
6766} )
6867
69- export const updateLevel = assign ( {
70- position : ( context : T . MachineContext , event : T . MachineEvent ) : any => {
71- const levelId = context . position . levelId
72- console . log ( `updateLevel: ${ JSON . stringify ( context . position ) } ` )
73- return { levelId, complete : false }
74- } ,
75- } )
76-
7768export const loadNext = send (
7869 ( context : T . MachineContext ) : T . Action => {
7970 const level = selectors . currentLevel ( context )
You can’t perform that action at this time.
0 commit comments