Skip to content

Commit

Permalink
[Fleet] Ensure react-query devtools initialIsOpen is false (#150702)
Browse files Browse the repository at this point in the history
## Summary

Left a bit of testing code here where I had devtools open all the time -
this PR ensures they're closed by default on Fleet/Integrations pages.
  • Loading branch information
kpollich authored Feb 9, 2023
1 parent 68dbac0 commit 30745e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/public/applications/fleet/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export const FleetAppContext: React.FC<{
<KibanaThemeProvider theme$={theme$}>
<EuiThemeProvider darkMode={isDarkMode}>
<QueryClientProvider client={queryClient}>
<ReactQueryDevtools initialIsOpen={true} />
<ReactQueryDevtools initialIsOpen={false} />
<UIExtensionsContext.Provider value={extensions}>
<FleetStatusProvider>
<Router history={history}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const IntegrationsAppContext: React.FC<{
<KibanaThemeProvider theme$={theme$}>
<EuiThemeProvider darkMode={isDarkMode}>
<QueryClientProvider client={queryClient}>
<ReactQueryDevtools initialIsOpen={true} />
<ReactQueryDevtools initialIsOpen={false} />
<UIExtensionsContext.Provider value={extensions}>
<FleetStatusProvider>
<startServices.customIntegrations.ContextProvider>
Expand Down

0 comments on commit 30745e2

Please sign in to comment.