1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/src/App.tsx
2023-04-12 19:01:02 -04:00

18 lines
465 B
TypeScript

import { History } from '@remix-run/router';
import React from 'react';
import { HistoryRouter } from './components/HistoryRouter';
import { ApiProvider } from './hooks/useApi';
import { AppRoutes } from './routes';
const App = ({ history }: { history: History }) => {
return (
<ApiProvider>
<HistoryRouter history={history}>
<AppRoutes />
</HistoryRouter>
</ApiProvider>
);
};
export default App;