mirror of
https://github.com/owncast/owncast.git
synced 2024-10-24 21:45:59 +03:00
Prettified Code!
This commit is contained in:
parent
c86a07122b
commit
8692dcca16
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue