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