From e5e62d984dbe5a21742a615ddc4c4984a34abad2 Mon Sep 17 00:00:00 2001 From: AlexKVal Date: Mon, 27 Apr 2015 13:31:34 +0300 Subject: [PATCH] Remove stale TODO note. The check is doing by React now. ```js propTypes: { defaultActiveKey: React.PropTypes.any ``` --- src/TabbedArea.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/TabbedArea.js b/src/TabbedArea.js index 23fb06f584..f0abcd8fc4 100644 --- a/src/TabbedArea.js +++ b/src/TabbedArea.js @@ -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