diff options
Diffstat (limited to 'frontend/src/pages')
| -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); |
