Skip to content

Commit e870622

Browse files
committed
Fix missing prop and invalid propType.
1 parent a542017 commit e870622

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

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

1515
propTypes: {
1616
activeKey: PropTypes.string,
17-
activeIndex: PropTypes.number,
17+
activeIndex: PropTypes.string,
1818
dataList: PropTypes.object,
1919
selectedTab: PropTypes.string,
2020
switchTab: PropTypes.func,

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

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export default React.createClass( {
1515
propTypes: {
1616
className: PropTypes.string,
1717
gridicon: PropTypes.string,
18+
href: PropTypes.string,
1819
label: PropTypes.string,
1920
loading: PropTypes.bool,
2021
selected: PropTypes.bool,

0 commit comments

Comments
 (0)