From b6bd3bcff5a7fecd6c7b8af3432eb8e29a1a5a3a Mon Sep 17 00:00:00 2001 From: fahed Date: Tue, 28 Apr 2026 14:44:43 +0300 Subject: [PATCH] feat(report): wire /report route and nav links (desktop + mobile) Co-Authored-By: Claude Sonnet 4.6 --- src/App.tsx | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index afa05ac..dded7ba 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,6 +4,7 @@ import { BrowserRouter as Router, Routes, Route, Link, useLocation } from 'react const Settings = lazy(() => import('./components/Settings')); const Comparison = lazy(() => import('./components/Comparison')); const Dashboard = lazy(() => import('./components/Dashboard')); +const Report = lazy(() => import('./components/Report')); import Login from './components/Login'; import LoadingSkeleton from './components/shared/LoadingSkeleton'; import { fetchData, getCacheStatus, refreshData, getUniqueMuseums, getUniqueChannels } from './services/dataService'; @@ -245,6 +246,18 @@ function App() { {t('nav.settings')} )} + {userRole === 'admin' && ( + + + Report + + )}