@@ -31,20 +31,19 @@ var default_1 = (function (_super) {
3131_super . apply ( this , arguments ) ;
3232}
3333default_1 . prototype . render = function ( ) {
34- var _a = this . props , tasks = _a . tasks , taskPosition = _a . taskPosition , hintPosition = _a . hintPosition , callNextPage = _a . callNextPage , callRunTests = _a . callRunTests , showHint = _a . showHint ;
34+ var _a = this . props , tasks = _a . tasks , taskPosition = _a . taskPosition , hintPosition = _a . hintPosition , callNextPage = _a . callNextPage , showHint = _a . showHint ;
3535var currentTask = taskPosition <= tasks . length ?tasks [ taskPosition ] :null ;
3636var progress = taskProgress ( taskPosition , tasks . length ) ;
3737var allComplete = taskPosition >= tasks . length ;
3838return ( React . createElement ( "section" , { className :'cr-page-toolbar' } , React . createElement ( ProgressBar , { progress :progress } ) , React . createElement ( material_ui_1 . Toolbar , null , React . createElement ( material_ui_1 . ToolbarGroup , { float :'right' } , allComplete ?
3939React . createElement ( material_ui_1 . RaisedButton , { label :'Continue' , primary :true , onTouchTap :callNextPage } )
4040 :
41- React . createElement ( material_ui_1 . RaisedButton , { label :'Save' , secondary :true , onTouchTap :callRunTests } ) ) ) ) ) ;
41+ React . createElement ( material_ui_1 . RaisedButton , { label :'Save' , secondary :true , onTouchTap :editor_1 . save } ) ) ) ) ) ;
4242} ;
4343default_1 = __decorate ( [
4444react_redux_1 . connect ( null , function ( dispatch , state ) {
4545return {
4646callNextPage :function ( ) { return dispatch ( Action . nextPage ( ) ) ; } ,
47- callSave :function ( ) { return editor_1 . save ( ) ; } ,
4847toggleLog :function ( ) { return dispatch ( Action . toggleLog ( ) ) ; }
4948} ;
5049} ) ,