diff options
| author | Arne Rief <riearn@proton.me> | 2026-02-13 21:04:35 +0100 |
|---|---|---|
| committer | Arne Rief <riearn@proton.me> | 2026-02-13 21:04:35 +0100 |
| commit | 50c0b1e5650bd1e8bc853d9a5520067d37860673 (patch) | |
| tree | 314b10bcaa9da224e16e1fbaa9b753db236466c7 /frontend/src/pages/Dashboard.tsx | |
| parent | 44b0ea903dd35bae26aa5a167a2a04f157f5f53b (diff) | |
Better caching during simulation
Diffstat (limited to 'frontend/src/pages/Dashboard.tsx')
| -rw-r--r-- | frontend/src/pages/Dashboard.tsx | 6 |
1 files changed, 0 insertions, 6 deletions
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); |
