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

Fix @tanstack/query-devtools on legacy browsers

This commit is contained in:
Dmitry Lyzo 2024-08-24 12:23:46 +03:00
parent c1cfe7c2e9
commit ea27750d7d
2 changed files with 20 additions and 1 deletions

View file

@ -18,7 +18,9 @@ const RootApp = () => (
</WebConfigProvider>
</UserSettingsProvider>
</ApiProvider>
<ReactQueryDevtools initialIsOpen={false} />
{window.Proxy && ( // '@tanstack/query-devtools' requires 'Proxy', which cannot be polyfilled for legacy browsers
<ReactQueryDevtools initialIsOpen={false} />
)}
</QueryClientProvider>
);