Skip to content

Commit

Permalink
Remove stale TODO note.
Browse files Browse the repository at this point in the history
The check is doing by React now.
```js
propTypes: {
  defaultActiveKey: React.PropTypes.any
```
  • Loading branch information
AlexKVal committed Apr 27, 2015
1 parent 716baf5 commit e5e62d9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/TabbedArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ const TabbedArea = React.createClass({
let defaultActiveKey = this.props.defaultActiveKey != null ?
this.props.defaultActiveKey : getDefaultActiveKeyFromChildren(this.props.children);

// TODO: In __DEV__ mode warn via `console.warn` if no `defaultActiveKey` has
// been set by this point, invalid children or missing key properties are likely the cause.

return {
activeKey: defaultActiveKey,
previousActiveKey: null
Expand Down

0 comments on commit e5e62d9

Please sign in to comment.