1
0
Fork 0
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:
irismarie 2021-02-05 18:42:37 +01:00
parent d6992fe734
commit a8b753df08

View file

@ -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);
}