summaryrefslogtreecommitdiff
path: root/frontend/src/pages
diff options
context:
space:
mode:
authorArne Rief <riearn@proton.me>2026-02-13 21:04:35 +0100
committerArne Rief <riearn@proton.me>2026-02-13 21:04:35 +0100
commit50c0b1e5650bd1e8bc853d9a5520067d37860673 (patch)
tree314b10bcaa9da224e16e1fbaa9b753db236466c7 /frontend/src/pages
parent44b0ea903dd35bae26aa5a167a2a04f157f5f53b (diff)
Better caching during simulation
Diffstat (limited to 'frontend/src/pages')
-rw-r--r--frontend/src/pages/Dashboard.tsx6
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);