refactor: update route paths
This commit is contained in:
parent
cefe3bb66a
commit
5dd3908db1
2 changed files with 10 additions and 10 deletions
|
|
@ -10,11 +10,11 @@ import RelaySettingsPage from './pages/secondary/RelaySettingsPage'
|
|||
|
||||
const ROUTES = [
|
||||
{ path: '/', element: <HomePage /> },
|
||||
{ path: '/note', element: <NoteListPage /> },
|
||||
{ path: '/note/:id', element: <NotePage /> },
|
||||
{ path: '/user', element: <ProfileListPage /> },
|
||||
{ path: '/user/:id', element: <ProfilePage /> },
|
||||
{ path: '/user/:id/following', element: <FollowingListPage /> },
|
||||
{ path: '/notes', element: <NoteListPage /> },
|
||||
{ path: '/notes/:id', element: <NotePage /> },
|
||||
{ path: '/users', element: <ProfileListPage /> },
|
||||
{ path: '/users/:id', element: <ProfilePage /> },
|
||||
{ path: '/users/:id/following', element: <FollowingListPage /> },
|
||||
{ path: '/relay-settings', element: <RelaySettingsPage /> }
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue