Prettified Code!
This commit is contained in:
parent
c86a07122b
commit
8692dcca16
@ -79,8 +79,8 @@ export default class UsernameForm extends Component {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidUpdate({ }, { displayForm }) {
|
componentDidUpdate({}, { displayForm }) {
|
||||||
if (this.state.displayForm && !displayForm ) {
|
if (this.state.displayForm && !displayForm) {
|
||||||
document.getElementById('username-change-input').select();
|
document.getElementById('username-change-input').select();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user