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 + + )}