@@ -3,6 +3,7 @@ import React from 'react';
33import { BrowserRouter , Routes , Route , Navigate } from 'react-router-dom' ;
44import { AuthGuard } from '@app/components/AuthGuard' ;
55import AuthLayout from '@app/components/layouts/AuthLayout/AuthLayout' ;
6+ import SettingsPage from '@app/components/settings/SettingsPage' ;
67
78AuthLayout . displayName = 'AuthLayout' ;
89import LoginPage from '@app/pages/LoginPage' ;
@@ -74,6 +75,7 @@ const Logout = React.lazy(() => import('./Logout'));
7475export const NFT_DASHBOARD_PATH = '/' ;
7576export const MEDICAL_DASHBOARD_PATH = '/medical-dashboard' ;
7677export const RELAY_SETTINGS_PATH = '/relay-settings' ;
78+ export const SETTINGS_PATH = '/settings' ;
7779export const TABLES_PAGE_PATH = '/nostr-stats' ;
7880
7981const MedicalDashboard = withLoading ( MedicalDashboardPage ) ;
@@ -114,6 +116,7 @@ const DataTables = withLoading(DataTablesPage);
114116const Charts = withLoading ( ChartsPage ) ;
115117const RelayStats = withLoading ( RelayStatsPage ) ;
116118const RelaySettings = withLoading ( RelaySettingsPage ) ;
119+ const Settings = withLoading ( SettingsPage ) ;
117120const BlockedPubkeys = withLoading ( BlockedPubkeysPage ) ;
118121
119122// Maps
@@ -155,6 +158,7 @@ export const AppRouter: React.FC = () => {
155158 < Route path = "media-manager" element = { < MediaPage /> } />
156159 < Route path = "relay-stats" element = { < RelayStats /> } />
157160 < Route path = { RELAY_SETTINGS_PATH } element = { < RelaySettings /> } />
161+ < Route path = { `${ SETTINGS_PATH } /*` } element = { < Settings /> } />
158162 < Route path = "blocked-pubkeys" element = { < BlockedPubkeys /> } />
159163 < Route path = "apps" >
160164 < Route path = "feed" element = { < NewsFeed /> } />
0 commit comments