Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jy95 committed Nov 28, 2024
1 parent 6ce77ec commit 972bc96
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 9 deletions.
37 changes: 37 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@
"generate-api-json-files": "node generateJsonFiles.mjs"
},
"dependencies": {
"@emotion/cache": "^11.13.5",
"@emotion/react": "^11.13.5",
"@emotion/styled": "^11.13.5",
"@mui/icons-material": "^6.1.9",
"@mui/material": "^6.1.9",
"@mui/material-nextjs": "^6.1.9",
"@mui/x-charts": "^8.0.0-alpha.1",
"@mui/x-data-grid": "^8.0.0-alpha.1",
"@reduxjs/toolkit": "^2.3.0",
Expand Down
21 changes: 12 additions & 9 deletions src/components/dashboard/DashboardAppProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Providers
import { AppProvider } from '@toolpad/core/nextjs';
import { AppRouterCacheProvider } from '@mui/material-nextjs/v15-appRouter';

// Hooks
import {useTranslations} from 'next-intl';
Expand Down Expand Up @@ -59,13 +60,15 @@ export default function DashboardAppProvider({
];

return (
<AppProvider
navigation={NAVIGATION}
branding={{
title: "GamesPassionFR"
}}
>
{children}
</AppProvider>
)
<AppRouterCacheProvider options={{ enableCssLayer: true }}>
<AppProvider
navigation={NAVIGATION}
branding={{
title: "GamesPassionFR"
}}
>
{children}
</AppProvider>
</AppRouterCacheProvider>
);
}

0 comments on commit 972bc96

Please sign in to comment.