Skip to content

Commit

Permalink
Issues/#1689 text input warning
Browse files Browse the repository at this point in the history
Summary:
This should close issue 1689. Using Object.assign to pass Flow checks.
Closes #1956
Github Author: Matt Revell <[email protected]>
  • Loading branch information
admmasters authored and ide committed Jul 15, 2015
1 parent e5358b5 commit b59f173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Components/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ var TextInput = React.createClass({
_renderIOS: function() {
var textContainer;

var props = this.props;
var props = Object.assign({},this.props);
props.style = [styles.input, this.props.style];

if (!props.multiline) {
Expand Down

0 comments on commit b59f173

Please sign in to comment.