Skip to content

Commit

Permalink
Remove call to isMounted
Browse files Browse the repository at this point in the history
This was introduced with mui#3287 as migration from
isMounted happened after this PR was opened.
  • Loading branch information
alitaheri authored and aahan96 committed Mar 17, 2016
1 parent 20bdc1c commit 5a2e587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextField/TextField.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ const TextField = React.createClass({
},

select() {
if (this.isMounted()) this._getInputNode().select();
if (this.input) this._getInputNode().select();
},

getValue() {
Expand Down

0 comments on commit 5a2e587

Please sign in to comment.