feat(dashboard): route settings and access
This commit is contained in:
1 parent
79de6aa2a1
commit
70d62b2da3
2 files changed
+2
-17
No files matched your search
@@ -1,11 +1,11 @@
|
||||
import { createBrowserRouter, type RouteObject } from 'react-router-dom';
|
||||
import { AppShell } from './app-shell.js';
|
||||
import { OverviewPage } from '../features/overview/overview-page.js';
|
||||
import { PlaceholderPage } from '../features/placeholder-page.js';
|
||||
import { ConversationRoute } from '../features/conversations/conversation-route.js';
|
||||
import { MediaPage } from '../features/media/media-page.js';
|
||||
import { OperationsPage } from '../features/operations/operations-page.js';
|
||||
import { PerformancePage } from '../features/performance/performance-page.js';
|
||||
import { SettingsRoute } from '../features/settings/settings-route.js';
|
||||
|
||||
export function createDashboardRoutes(): RouteObject[] {
|
||||
return [
|
||||
@@ -19,7 +19,7 @@ export function createDashboardRoutes(): RouteObject[] {
|
||||
{ path: 'media', element: <MediaPage /> },
|
||||
{ path: 'performance', element: <PerformancePage /> },
|
||||
{ path: 'operations', element: <OperationsPage /> },
|
||||
{ path: 'settings', element: <PlaceholderPage title="Settings" description="Manage runtime behavior and Reddit access." /> },
|
||||
{ path: 'settings', element: <SettingsRoute /> },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user