Skip to content

Commit 82a8c85

Browse files
alitaheriCuong Le
authored andcommitted
Remove call to isMounted
This was introduced with mui#3287 as migration from isMounted happened after this PR was opened.
1 parent bfd0a65 commit 82a8c85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/TextField/TextField.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ const TextField = React.createClass({
365365
},
366366

367367
select() {
368-
if (this.isMounted()) this._getInputNode().select();
368+
if (this.input) this._getInputNode().select();
369369
},
370370

371371
getValue() {

0 commit comments

Comments
 (0)