Fix @tanstack/query-devtools on legacy browsers
This commit is contained in:
+3
-1
@@ -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>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user