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 3235e2e594
commit 1adaf00cb3
7 changed files with 84 additions and 83 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,12 +8,12 @@ import { queryClient } from 'utils/query/queryClient';
import RootAppRouter from './RootAppRouter';
const RootApp = ({ history }: Readonly<{ history: History }>) => {
const RootApp = () => {
return (
<QueryClientProvider client={queryClient}>
<ApiProvider>
<WebConfigProvider>
<RootAppRouter history={history} />
<RootAppRouter />
</WebConfigProvider>
</ApiProvider>
<ReactQueryDevtools initialIsOpen={false} />