@@ -25,11 +25,11 @@ var Progress = (function (_super) {
2525_super . apply ( this , arguments ) ;
2626}
2727Progress . prototype . render = function ( ) {
28- var _a = this . props , progress = _a . progress , pagePosition = _a . pagePosition , info = _a . info , tutorial = _a . tutorial , selectPage = _a . selectPage ;
28+ var _a = this . props , info = _a . info , tutorial = _a . tutorial ;
2929return ( React . createElement ( Paper_1 . default , { style :styles . page } ,
3030React . createElement ( List_1 . List , { style :styles . list } ,
3131React . createElement ( Subheader_1 . default , null , info . title ) ,
32- tutorial . pages . map ( function ( page , index ) { return ( React . createElement ( ProgressPage_1 . default , { key :index , index :index , page :page , pagePosition : pagePosition , progress : progress , selectPage : selectPage } ) ) ; } ) )
32+ tutorial . pages . map ( function ( page , index ) { return ( React . createElement ( ProgressPage_1 . default , { key :index , index :index , page :page } ) ) ; } ) )
3333) ) ;
3434} ;
3535Progress . prototype . componentWillMount = function ( ) {
@@ -38,17 +38,11 @@ var Progress = (function (_super) {
3838return Progress ;
3939} ( React . Component ) ) ;
4040var mapStateToProps = function ( state ) { return ( {
41- progress :state . progress ,
42- pagePosition :state . pagePosition ,
4341info :state . tutorial . info ,
4442tutorial :state . tutorial ,
4543} ) ; } ;
46- var mapDispatchToProps = function ( dispatch ) { return ( {
47- selectPage :function ( pagePosition ) {
48- dispatch ( actions_1 . pageSet ( pagePosition ) ) ;
49- dispatch ( actions_1 . routeSet ( 'page' ) ) ;
50- } ,
44+ var mapDispatchToProps = {
5145progressLoad :actions_1 . progressLoad
52- } ) ; } ;
46+ } ;
5347Object . defineProperty ( exports , "__esModule" , { value :true } ) ;
5448exports . default = react_redux_1 . connect ( mapStateToProps , mapDispatchToProps ) ( Progress ) ;