From 2494012620f7f30735c688d124a8b3a57b73d2b2 Mon Sep 17 00:00:00 2001
From: Tin Geber <tin@greenhost.nl>
Date: Wed, 31 May 2023 21:33:17 +0200
Subject: [PATCH] caught an unused var

---
 frontend/src/modules/dashboard/Dashboard.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/frontend/src/modules/dashboard/Dashboard.tsx b/frontend/src/modules/dashboard/Dashboard.tsx
index 7eaf024d..79f302b7 100644
--- a/frontend/src/modules/dashboard/Dashboard.tsx
+++ b/frontend/src/modules/dashboard/Dashboard.tsx
@@ -46,10 +46,10 @@ export const Dashboard: React.FC = () => {
     );
 
   const updateTime: Date = new Date(sysInfo.sysInfo.lastUpdated);
-  // const hoursSinceUpdate = Math.floor((new Date().getTime() - updateTime.getTime()) / 3600000);
+  const hoursSinceUpdate = Math.floor((new Date().getTime() - updateTime.getTime()) / 3600000);
 
   // manual toggles to test alert bar
-  const hoursSinceUpdate = 21;
+  // const hoursSinceUpdate = 21;
 
   // const lastRelease = sysInfo.sysInfo.lastRelease;
 
-- 
GitLab