diff options
Diffstat (limited to 'subprojects/frontend/src/index.tsx')
-rw-r--r-- | subprojects/frontend/src/index.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/subprojects/frontend/src/index.tsx b/subprojects/frontend/src/index.tsx index 602a68ef..5760327e 100644 --- a/subprojects/frontend/src/index.tsx +++ b/subprojects/frontend/src/index.tsx | |||
@@ -1,5 +1,6 @@ | |||
1 | import Box from '@mui/material/Box'; | 1 | import Box from '@mui/material/Box'; |
2 | import CssBaseline from '@mui/material/CssBaseline'; | 2 | import CssBaseline from '@mui/material/CssBaseline'; |
3 | import Grow from '@mui/material/Grow'; | ||
3 | import { configure } from 'mobx'; | 4 | import { configure } from 'mobx'; |
4 | import { SnackbarProvider } from 'notistack'; | 5 | import { SnackbarProvider } from 'notistack'; |
5 | import React, { Suspense, lazy } from 'react'; | 6 | import React, { Suspense, lazy } from 'react'; |
@@ -77,7 +78,8 @@ const app = ( | |||
77 | <ThemeProvider> | 78 | <ThemeProvider> |
78 | <CssBaseline enableColorScheme /> | 79 | <CssBaseline enableColorScheme /> |
79 | <WindowControlsOverlayColor /> | 80 | <WindowControlsOverlayColor /> |
80 | <SnackbarProvider> | 81 | {/* @ts-expect-error -- notistack has problems with `exactOptionalPropertyTypes` */} |
82 | <SnackbarProvider TransitionComponent={Grow}> | ||
81 | <RegisterServiceWorker /> | 83 | <RegisterServiceWorker /> |
82 | <Box height="100vh" overflow="auto"> | 84 | <Box height="100vh" overflow="auto"> |
83 | <Suspense fallback={<Loading />}> | 85 | <Suspense fallback={<Loading />}> |