From b660bd97691178b44a5021216221a3a009cba8bb Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Sun, 25 Feb 2024 00:03:53 +0100 Subject: [PATCH] Use strings, not numbers --- src/back/routes/dashboard.sreact.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/back/routes/dashboard.sreact.tsx b/src/back/routes/dashboard.sreact.tsx index c0d8a86..3eb73c1 100644 --- a/src/back/routes/dashboard.sreact.tsx +++ b/src/back/routes/dashboard.sreact.tsx @@ -59,7 +59,8 @@ export default new (class DashboardPage extends StatefulPage
- {date.getHours()}:{date.getMinutes().toString().padStart(2, "0")} + {date.getHours().toString().padStart(2, "0")}: + {date.getMinutes().toString().padStart(2, "0")}
@@ -76,9 +77,10 @@ export default new (class DashboardPage extends StatefulPage - setInterval(function () { + (function () { document.location = document.location; - }, 15 * 1000); + }), + 15 * 1000; ` }