Move _initLogin to componentDidMount
This commit is contained in:
parent
00973a1ee8
commit
c3383e9315
1 changed files with 2 additions and 0 deletions
|
@ -69,7 +69,9 @@ export default class SoftLogout extends React.Component {
|
|||
password: "",
|
||||
errorText: "",
|
||||
};
|
||||
}
|
||||
|
||||
componentDidMount(): void {
|
||||
this._initLogin();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue