From 50c0b1e5650bd1e8bc853d9a5520067d37860673 Mon Sep 17 00:00:00 2001 From: Arne Rief Date: Fri, 13 Feb 2026 21:04:35 +0100 Subject: Better caching during simulation --- frontend/src/pages/Dashboard.tsx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'frontend/src/pages/Dashboard.tsx') diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index b1b38e4..807d4e3 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -33,12 +33,6 @@ function Dashboard() { // Request robot data from backend on component mount useEffect(() => { - // Additional safety check to protect this page from unauthorized access - if (!token || token === "undefined" || token === "null") { - navigate("/login"); - return; - } - async function fetchRobots() { try { setIsLoading(true); -- cgit v1.2.3