feat: relay info
This commit is contained in:
parent
64a5573969
commit
76dd184c14
9 changed files with 163 additions and 45 deletions
|
|
@ -8,6 +8,7 @@ import OthersRelaySettingsPage from './pages/secondary/OthersRelaySettingsPage'
|
|||
import ProfileEditorPage from './pages/secondary/ProfileEditorPage'
|
||||
import ProfileListPage from './pages/secondary/ProfileListPage'
|
||||
import ProfilePage from './pages/secondary/ProfilePage'
|
||||
import RelayPage from './pages/secondary/RelayPage'
|
||||
import RelaySettingsPage from './pages/secondary/RelaySettingsPage'
|
||||
import SettingsPage from './pages/secondary/SettingsPage'
|
||||
|
||||
|
|
@ -21,7 +22,8 @@ const ROUTES = [
|
|||
{ path: '/users/:id/relays', element: <OthersRelaySettingsPage /> },
|
||||
{ path: '/relay-settings', element: <RelaySettingsPage /> },
|
||||
{ path: '/settings', element: <SettingsPage /> },
|
||||
{ path: '/profile-editor', element: <ProfileEditorPage /> }
|
||||
{ path: '/profile-editor', element: <ProfileEditorPage /> },
|
||||
{ path: '/relays/:url', element: <RelayPage /> }
|
||||
]
|
||||
|
||||
export const routes = ROUTES.map(({ path, element }) => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue