Add detailed statistics API v2 documentation and implement frontend components for displaying statistics
This commit is contained in:
@@ -3,6 +3,7 @@ import { Route, Routes } from 'react-router-dom'
|
||||
|
||||
import { Layout } from './components/Layout'
|
||||
import { DashboardPage } from './pages/dashboard/DashboardPage'
|
||||
import { DetailedStatsPage } from './pages/detailed-stats/DetailedStatsPage'
|
||||
import { TasksListPage } from './pages/tasks/TasksListPage'
|
||||
import { TaskFormPage } from './pages/tasks/TaskFormPage'
|
||||
import { ChainsListPage } from './pages/chains/ChainsListPage'
|
||||
@@ -30,6 +31,24 @@ export const Dashboard = () => {
|
||||
}
|
||||
/>
|
||||
|
||||
{/* Detailed Stats */}
|
||||
<Route
|
||||
path={URLs.detailedStats}
|
||||
element={
|
||||
<PageWrapper>
|
||||
<DetailedStatsPage />
|
||||
</PageWrapper>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path={URLs.detailedStatsChainPath}
|
||||
element={
|
||||
<PageWrapper>
|
||||
<DetailedStatsPage />
|
||||
</PageWrapper>
|
||||
}
|
||||
/>
|
||||
|
||||
{/* Tasks */}
|
||||
<Route
|
||||
path={URLs.tasks}
|
||||
|
||||
Reference in New Issue
Block a user