1
0
Fork 0
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:
Bill Thornton 2022-11-30 14:18:49 -05:00
parent 9bf0a6bf4d
commit 516bd2aab8
3 changed files with 12 additions and 17 deletions

View file

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