mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Rename ConnectedRoute component
This commit is contained in:
parent
05dbeff473
commit
2e49d2db8b
3 changed files with 48 additions and 33 deletions
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
import { Route, Routes } from 'react-router-dom';
|
||||
|
||||
import ConnectedRoute from '../components/ConnectedRoute';
|
||||
import ConnectionRequired from '../components/ConnectionRequired';
|
||||
import SearchPage from './search';
|
||||
|
||||
const AppRoutes = () => (
|
||||
|
@ -10,9 +10,9 @@ const AppRoutes = () => (
|
|||
<Route
|
||||
path='search.html'
|
||||
element={
|
||||
<ConnectedRoute>
|
||||
<ConnectionRequired>
|
||||
<SearchPage />
|
||||
</ConnectedRoute>
|
||||
</ConnectionRequired>
|
||||
}
|
||||
/>
|
||||
{/* Suppress warnings for unhandled routes */}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue