1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add RouterHistory to replace syncing for compatibility

This commit is contained in:
Bill Thornton 2024-07-24 15:12:10 -04:00
parent 3315ce1e89
commit dce7a36fcf
7 changed files with 86 additions and 85 deletions

View file

@ -1,4 +1,3 @@
import { History } from '@remix-run/router';
import { QueryClientProvider } from '@tanstack/react-query';
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
import React from 'react';
@ -9,11 +8,11 @@ import { queryClient } from 'utils/query/queryClient';
import RootAppRouter from 'RootAppRouter';
const RootApp = ({ history }: Readonly<{ history: History }>) => (
const RootApp = () => (
<QueryClientProvider client={queryClient}>
<ApiProvider>
<WebConfigProvider>
<RootAppRouter history={history} />
<RootAppRouter />
</WebConfigProvider>
</ApiProvider>
<ReactQueryDevtools initialIsOpen={false} />