mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove connections prop
This commit is contained in:
parent
9bf0a6bf4d
commit
516bd2aab8
3 changed files with 12 additions and 17 deletions
|
@ -2,13 +2,12 @@ import { History } from '@remix-run/router';
|
|||
import React from 'react';
|
||||
|
||||
import { HistoryRouter } from './components/HistoryRouter';
|
||||
import ServerConnections from './components/ServerConnections';
|
||||
import { ApiProvider } from './hooks/useApi';
|
||||
import AppRoutes from './routes/index';
|
||||
|
||||
const App = ({ history, connections }: { history: History, connections: typeof ServerConnections }) => {
|
||||
const App = ({ history }: { history: History }) => {
|
||||
return (
|
||||
<ApiProvider connections={connections}>
|
||||
<ApiProvider>
|
||||
<HistoryRouter history={history}>
|
||||
<AppRoutes />
|
||||
</HistoryRouter>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue