@@ -24,21 +24,19 @@ var HintButton = (function (_super) {
2424_super . apply ( this , arguments ) ;
2525}
2626HintButton . prototype . render = function ( ) {
27- var _a = this . props , hintPosition = _a . hintPosition , hintsLength = _a . hintsLength , label = _a . label , type = _a . type , hintSet = _a . hintSet ;
27+ var _a = this . props , hintPosition = _a . hintPosition , hintsLength = _a . hintsLength , label = _a . label , type = _a . type , hintPositionSet = _a . hintPositionSet ;
2828switch ( type ) {
2929case 'next' :
30- return ( React . createElement ( FlatButton_1 . default , { label :label , disabled :hintPosition > hintsLength - 2 , onTouchTap :hintSet . bind ( this , hintPosition + 1 ) } ) ) ;
30+ return ( React . createElement ( FlatButton_1 . default , { label :label , disabled :hintPosition > hintsLength - 2 , onTouchTap :hintPositionSet . bind ( this , hintPosition + 1 ) } ) ) ;
3131case 'prev' :
32- return ( React . createElement ( FlatButton_1 . default , { label :label , disabled :hintPosition === 0 , onTouchTap :hintSet . bind ( this , hintPosition - 1 ) } ) ) ;
32+ return ( React . createElement ( FlatButton_1 . default , { label :label , disabled :hintPosition === 0 , onTouchTap :hintPositionSet . bind ( this , hintPosition - 1 ) } ) ) ;
3333}
3434} ;
3535HintButton = __decorate ( [
3636react_redux_1 . connect ( function ( state ) { return ( {
3737hintPosition :state . hintPosition ,
3838hintsLength :selectors_1 . hintsSelector ( state ) . length ,
39- } ) ; } , function ( dispatch ) { return ( {
40- hintSet :function ( position ) { dispatch ( actions_1 . hintPositionSet ( position ) ) ; } ,
41- } ) ; } ) ,
39+ } ) ; } , { hintPositionSet :actions_1 . hintPositionSet } ) ,
4240__metadata ( 'design:paramtypes' , [ ] )
4341] , HintButton ) ;
4442return HintButton ;