Prettified Code!

This commit is contained in:
gabek 2022-03-06 06:20:55 +00:00 committed by GitHub Action
parent c86a07122b
commit 8692dcca16

View file

@ -79,8 +79,8 @@ export default class UsernameForm extends Component {
}
}
componentDidUpdate({ }, { displayForm }) {
if (this.state.displayForm && !displayForm ) {
componentDidUpdate({}, { displayForm }) {
if (this.state.displayForm && !displayForm) {
document.getElementById('username-change-input').select();
}
}