1
0
Fork 0
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:
grafixeyehero 2022-06-29 03:08:53 +03:00
parent a2cd1b3176
commit 1b9202d9cb
3 changed files with 30 additions and 24 deletions

View file

@ -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>