File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import { GlobalSnackbar } from "./components/GlobalSnackbar/GlobalSnackbar"
10
10
import { dark } from "./theme"
11
11
import "./theme/globalFonts"
12
12
import { ProxyProvider } from "contexts/ProxyContext"
13
+ import { DashboardProvider } from "components/Dashboard/DashboardProvider"
13
14
14
15
const queryClient = new QueryClient ( {
15
16
defaultOptions : {
@@ -30,10 +31,12 @@ export const AppProviders: FC<PropsWithChildren> = ({ children }) => {
30
31
< ErrorBoundary >
31
32
< QueryClientProvider client = { queryClient } >
32
33
< AuthProvider >
33
- < ProxyProvider >
34
- { children }
35
- < GlobalSnackbar />
36
- </ ProxyProvider >
34
+ < DashboardProvider >
35
+ < ProxyProvider >
36
+ { children }
37
+ < GlobalSnackbar />
38
+ </ ProxyProvider >
39
+ </ DashboardProvider >
37
40
</ AuthProvider >
38
41
</ QueryClientProvider >
39
42
</ ErrorBoundary >
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import { Outlet } from "react-router-dom"
13
13
import { dashboardContentBottomPadding } from "theme/constants"
14
14
import { updateCheckMachine } from "xServices/updateCheck/updateCheckXService"
15
15
import { Navbar } from "../Navbar/Navbar"
16
- import { DashboardProvider } from "./DashboardProvider"
17
16
18
17
export const DashboardLayout : FC = ( ) => {
19
18
const styles = useStyles ( )
@@ -26,7 +25,7 @@ export const DashboardLayout: FC = () => {
26
25
const { error : updateCheckError , updateCheck } = updateCheckState . context
27
26
28
27
return (
29
- < DashboardProvider >
28
+ < >
30
29
< ServiceBanner />
31
30
< LicenseBanner />
32
31
@@ -55,7 +54,7 @@ export const DashboardLayout: FC = () => {
55
54
56
55
< DeploymentBanner />
57
56
</ div >
58
- </ DashboardProvider >
57
+ </ >
59
58
)
60
59
}
61
60
You can’t perform that action at this time.
0 commit comments