From a8b753df08fde1be5992195b11b319b772962ab6 Mon Sep 17 00:00:00 2001 From: irismarie Date: Fri, 5 Feb 2021 18:42:37 +0100 Subject: [PATCH] stop annoying timergit add . --- src/user/login-complete.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/user/login-complete.js b/src/user/login-complete.js index 3bca1f7..cbeca8f 100644 --- a/src/user/login-complete.js +++ b/src/user/login-complete.js @@ -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); }