From 82b9d48c698a8776ab958572a25fd5d23344a770 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Sun, 25 Feb 2024 00:15:23 +0100 Subject: [PATCH] Fix setinterval --- src/back/routes/dashboard.sreact.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/back/routes/dashboard.sreact.tsx b/src/back/routes/dashboard.sreact.tsx index 3eb73c1..3f09cf8 100644 --- a/src/back/routes/dashboard.sreact.tsx +++ b/src/back/routes/dashboard.sreact.tsx @@ -77,10 +77,9 @@ export default new (class DashboardPage extends StatefulPage - (function () { + setInterval(function () { document.location = document.location; - }), - 15 * 1000; + }, 15 * 1000); ` }