1
0
Fork 0
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:
grafixeyehero 2022-06-29 02:56:49 +03:00
parent 9efc39f828
commit a2cd1b3176
4 changed files with 26 additions and 23 deletions

View file

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