mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
feat(ui): portainer base component css change [EE-3381] (#7115)
This commit is contained in:
parent
825269c119
commit
f78a6568a6
70 changed files with 999 additions and 1596 deletions
|
@ -1,4 +1,3 @@
|
|||
import { ReactQueryDevtools } from 'react-query/devtools';
|
||||
import { QueryClientProvider } from 'react-query';
|
||||
import { UIRouterContextComponent } from '@uirouter/react-hybrid';
|
||||
import { PropsWithChildren, StrictMode } from 'react';
|
||||
|
@ -11,9 +10,6 @@ import { createQueryClient } from './react-query';
|
|||
const queryClient = createQueryClient();
|
||||
|
||||
export function RootProvider({ children }: PropsWithChildren<unknown>) {
|
||||
const showReactQueryDevtools =
|
||||
process.env.SHOW_REACT_QUERY_DEV_TOOLS === 'true';
|
||||
|
||||
return (
|
||||
<StrictMode>
|
||||
<QueryClientProvider client={queryClient}>
|
||||
|
@ -22,7 +18,6 @@ export function RootProvider({ children }: PropsWithChildren<unknown>) {
|
|||
<UserProvider>{children}</UserProvider>
|
||||
</UIRouterContextComponent>
|
||||
</UIStateProvider>
|
||||
{showReactQueryDevtools && <ReactQueryDevtools />}
|
||||
</QueryClientProvider>
|
||||
</StrictMode>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue