mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
migrate User Profiles Page
This commit is contained in:
parent
a2cd1b3176
commit
1b9202d9cb
3 changed files with 30 additions and 24 deletions
|
@ -4,6 +4,7 @@ import { Route, Routes } from 'react-router-dom';
|
|||
import ConnectionRequired from '../components/ConnectionRequired';
|
||||
import NewUserPage from './NewUserPage';
|
||||
import SearchPage from './search';
|
||||
import UserProfilesPage from './UserProfilesPage';
|
||||
|
||||
const AppRoutes = () => (
|
||||
<Routes>
|
||||
|
@ -24,6 +25,14 @@ const AppRoutes = () => (
|
|||
</ConnectionRequired>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path='userprofiles.html'
|
||||
element={
|
||||
<ConnectionRequired>
|
||||
<UserProfilesPage />
|
||||
</ConnectionRequired>
|
||||
}
|
||||
/>
|
||||
{/* Suppress warnings for unhandled routes */}
|
||||
<Route path='*' element={null} />
|
||||
</Route>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue