Skip to content

Commit

Permalink
fix scrollingbar problem
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminpochat committed Sep 29, 2024
1 parent e07e7f2 commit 12f8499
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions frontend/app/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import SnackbarProvider from './domains/commons/components/SnackbarProvider.tsx'

function App() {

document.body.style.overflow = null;

const themeFactory = new ThemeFactory()

const keycloakClient = new Keycloak(window.location.origin + '/config/keycloak.json')
Expand All @@ -26,14 +28,15 @@ function App() {
silentCheckSsoRedirectUri: window.location.origin + '/silent-check-sso.html'
}


return (
<CookiesProvider>
<ReactKeycloakProvider authClient={keycloakClient} initOptions={keycloakInitOptions}>
<ThemeProvider theme={themeFactory.createTheme()}>
<LocalizationProvider dateAdapter={AdapterDayjs} adapterLocale="fr">
<SnackbarProvider>
<ViandeEnDirectRouterProvider></ViandeEnDirectRouterProvider>
</SnackbarProvider>
<ViandeEnDirectRouterProvider/>
</SnackbarProvider>
</LocalizationProvider>
</ThemeProvider>
</ReactKeycloakProvider>
Expand Down

0 comments on commit 12f8499

Please sign in to comment.