Update routing and sidebar links to remove '/central' prefix

This commit is contained in:
2026-07-11 23:40:34 +00:00
parent ff6d6bbd0b
commit 9e8f23aab7
2 changed files with 11 additions and 16 deletions

View File

@@ -1,4 +1,3 @@
import { Navigate } from 'react-router';
import type { RouteObject } from 'react-router';
import { CentralLayout } from './CentralLayout';
import { NotFoundPage } from './pages/NotFoundPage';
@@ -16,10 +15,6 @@ import {
export const routes: RouteObject[] = [
{
path: '/',
element: <Navigate to="/central" replace />,
},
{
path: '/central',
element: <CentralLayout />,
children: [
{ index: true, element: <DashboardPage /> },