Skip to content

Commit a542017

Browse files
committed
Add in missing props.
1 parent 3bd7196 commit a542017

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

client/my-sites/stats/stats-tabs/index.jsx

+2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ export default React.createClass( {
1414

1515
propTypes: {
1616
activeKey: PropTypes.string,
17+
activeIndex: PropTypes.number,
1718
dataList: PropTypes.object,
19+
selectedTab: PropTypes.string,
1820
switchTab: PropTypes.func,
1921
tabs: PropTypes.array
2022
},

client/my-sites/stats/stats-tabs/tab.jsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ export default React.createClass( {
2424

2525
getDefaultProps() {
2626
return {
27-
tabClick: () => {},
28-
href: '#'
27+
tabClick: () => {}
2928
}
3029
},
3130

@@ -60,7 +59,7 @@ export default React.createClass( {
6059
'is-low': ! value
6160
} );
6261

63-
const linkClass = '#' === href ? 'no-link' : null;
62+
const linkClass = ! href ? 'no-link' : null;
6463

6564
return (
6665
<li className={ tabClass } onClick={ this.clickHandler } >

0 commit comments

Comments
 (0)