Commit a542017 1 parent 3bd7196 commit a542017 Copy full SHA for a542017
File tree 2 files changed +4
-3
lines changed
client/my-sites/stats/stats-tabs
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ export default React.createClass( {
14
14
15
15
propTypes : {
16
16
activeKey : PropTypes . string ,
17
+ activeIndex : PropTypes . number ,
17
18
dataList : PropTypes . object ,
19
+ selectedTab : PropTypes . string ,
18
20
switchTab : PropTypes . func ,
19
21
tabs : PropTypes . array
20
22
} ,
Original file line number Diff line number Diff line change @@ -24,8 +24,7 @@ export default React.createClass( {
24
24
25
25
getDefaultProps ( ) {
26
26
return {
27
- tabClick : ( ) => { } ,
28
- href : '#'
27
+ tabClick : ( ) => { }
29
28
}
30
29
} ,
31
30
@@ -60,7 +59,7 @@ export default React.createClass( {
60
59
'is-low' : ! value
61
60
} ) ;
62
61
63
- const linkClass = '#' === href ? 'no-link' : null ;
62
+ const linkClass = ! href ? 'no-link' : null ;
64
63
65
64
return (
66
65
< li className = { tabClass } onClick = { this . clickHandler } >
You can’t perform that action at this time.
0 commit comments