@campxdev/campx-web-utils 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/campx-web-utils",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "main": "./export.ts",
5
5
  "private": false,
6
6
  "dependencies": {
@@ -1,4 +1,6 @@
1
1
  import { lightTheme, MuiThemeProvider } from '@campxdev/react-blueprint';
2
+ import { LocalizationProvider } from '@mui/x-date-pickers';
3
+ import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3';
2
4
  import Cookies from 'js-cookie';
3
5
  import { ReactNode, useEffect } from 'react';
4
6
  import { QueryClient, QueryClientProvider } from 'react-query';
@@ -46,9 +48,11 @@ export const Providers = ({
46
48
  <QueryClientProvider client={queryClient}>
47
49
  <MuiThemeProvider theme={theme}>
48
50
  <SnackbarProvider>
49
- <ConfirmDialogProvider>
50
- <ErrorBoundary>{children}</ErrorBoundary>
51
- </ConfirmDialogProvider>
51
+ <LocalizationProvider dateAdapter={AdapterDateFns}>
52
+ <ConfirmDialogProvider>
53
+ <ErrorBoundary>{children}</ErrorBoundary>
54
+ </ConfirmDialogProvider>
55
+ </LocalizationProvider>
52
56
  </SnackbarProvider>
53
57
  </MuiThemeProvider>
54
58
  </QueryClientProvider>