@@ -22,15 +22,15 @@ const origin = {horizontal: 'right', vertical: 'top'};
2222 dispatch ( Action . setPage ( position ) ) ;
2323 dispatch ( Action . setRoute ( 'page' ) ) ;
2424 } ,
25- routeToProjects : ( ) => dispatch ( Action . setRoute ( 'projects ' ) ) ,
25+ routeToTutorials : ( ) => dispatch ( Action . setRoute ( 'tutorials ' ) ) ,
2626 quit : ( ) => {
2727 togglePanel ( ) ;
2828 onDeactivate ( ) ;
2929 }
3030 } ;
3131} )
3232export default class extends React . Component < {
33- route : string , position : CR . Position , routeToProgress ?: any , routeToPage ?: any , routeToProjects ?: any , quit ?: any
33+ route : string , position : CR . Position , routeToProgress ?: any , routeToPage ?: any , routeToTutorials ?: any , quit ?: any
3434} , { } > {
3535 navOptions ( ) : React . ReactElement < { } > {
3636 const { routeToProgress, routeToPage} = this . props ;
@@ -44,17 +44,17 @@ export default class extends React.Component<{
4444 }
4545 }
4646 menuOptions ( ) {
47- const { routeToProgress, routeToProjects } = this . props ;
47+ const { routeToProgress, routeToTutorials } = this . props ;
4848 switch ( this . props . route ) {
4949 case 'final' :
5050 case 'page' :
5151 return (
5252 < div >
5353 < MenuItem primaryText = 'progress' onTouchTap = { routeToProgress } key = 'progress' />
54- < MenuItem primaryText = 'projects ' onTouchTap = { routeToProjects } key = 'projects' />
54+ < MenuItem primaryText = 'tutorials ' onTouchTap = { routeToTutorials } key = 'projects' />
5555 </ div > ) ;
5656 case 'progress' :
57- return < MenuItem primaryText = 'projects ' onTouchTap = { routeToProjects } key = 'projects' /> ;
57+ return < MenuItem primaryText = 'tutorials ' onTouchTap = { routeToTutorials } key = 'projects' /> ;
5858 default : return null ;
5959 }
6060 }
0 commit comments