mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
stop, timer, please
This commit is contained in:
parent
a8b753df08
commit
830448a9bd
1 changed files with 7 additions and 1 deletions
|
@ -28,6 +28,7 @@ import NotificationsFactory from "../common/data-managers/notifications-factory"
|
|||
|
||||
class LoginComplete extends React.Component {
|
||||
constructor(props) {
|
||||
console.log("LoginComplete constructor");
|
||||
super(props);
|
||||
|
||||
AppDispatcher.dispatch({
|
||||
|
@ -38,7 +39,7 @@ class LoginComplete extends React.Component {
|
|||
loginMessage: '',
|
||||
token: '',
|
||||
currentUser: '',
|
||||
secondsToWait: 5,
|
||||
secondsToWait: 99,
|
||||
}
|
||||
|
||||
this.timer = 0;
|
||||
|
@ -46,7 +47,12 @@ class LoginComplete extends React.Component {
|
|||
this.countDown = this.countDown.bind(this);
|
||||
this.stopTimer = this.stopTimer.bind(this);
|
||||
|
||||
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
this.startTimer();
|
||||
this.setState({secondsToWait: 5});
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue