Skip to content

Commit

Permalink
Change back to old date adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaselhan committed Dec 9, 2024
1 parent 4ce257a commit d075f66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import theme from '@/themes'
import './i18n'
import { KeycloakProvider } from '@/components/KeycloakProvider'
import { getKeycloak } from '@/utils/keycloak'
import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'
import { LocalizationProvider } from '@mui/x-date-pickers'
import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3'

const queryClient = new QueryClient()
const keycloak = getKeycloak()
Expand All @@ -19,7 +19,7 @@ if (root) {
<KeycloakProvider authClient={keycloak}>
<QueryClientProvider client={queryClient}>
<ThemeProvider theme={theme}>
<LocalizationProvider dateAdapter={AdapterDayjs}>
<LocalizationProvider dateAdapter={AdapterDateFns}>
<CssBaseline />
<App />
</LocalizationProvider>
Expand Down

0 comments on commit d075f66

Please sign in to comment.