mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
stop annoying timergit add .
This commit is contained in:
parent
d6992fe734
commit
a8b753df08
1 changed files with 2 additions and 1 deletions
|
@ -44,6 +44,7 @@ class LoginComplete extends React.Component {
|
|||
this.timer = 0;
|
||||
this.startTimer = this.startTimer.bind(this);
|
||||
this.countDown = this.countDown.bind(this);
|
||||
this.stopTimer = this.stopTimer.bind(this);
|
||||
|
||||
this.startTimer();
|
||||
}
|
||||
|
@ -64,7 +65,7 @@ class LoginComplete extends React.Component {
|
|||
}
|
||||
|
||||
stopTimer() {
|
||||
console.log("component unmounting");
|
||||
console.log("stop timer");
|
||||
clearInterval(this.timer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue