From dc83e44088241891398664b021f74d24b359e60a Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Tue, 2 Feb 2016 11:39:53 -0800 Subject: [PATCH] fix(warnings): Warnings due to props not provided before React.cloneElement See https://github.com/facebook/react/issues/4494 --- src/components/multiselect-action-bar.cjsx | 2 +- src/components/multiselect-list.cjsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/multiselect-action-bar.cjsx b/src/components/multiselect-action-bar.cjsx index 3162a3bcf..7a4ac666b 100644 --- a/src/components/multiselect-action-bar.cjsx +++ b/src/components/multiselect-action-bar.cjsx @@ -50,7 +50,7 @@ class MultiselectActionBar extends React.Component ### @propTypes: collection: React.PropTypes.string.isRequired - dataSource: React.PropTypes.object.isRequired + dataSource: React.PropTypes.object constructor: (@props) -> @state = @_getStateFromStores() diff --git a/src/components/multiselect-list.cjsx b/src/components/multiselect-list.cjsx index 1d158eee0..91da334a7 100644 --- a/src/components/multiselect-list.cjsx +++ b/src/components/multiselect-list.cjsx @@ -28,7 +28,7 @@ class MultiselectList extends React.Component @displayName = 'MultiselectList' @propTypes = - dataSource: React.PropTypes.object.isRequired + dataSource: React.PropTypes.object className: React.PropTypes.string.isRequired columns: React.PropTypes.array.isRequired itemPropsProvider: React.PropTypes.func.isRequired