diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-09-05 01:29:11 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-09-06 01:05:24 +0200 |
commit | eb94326bb64552dbd7df62ae201ccca37f368467 (patch) | |
tree | b810f0230ace058cac8a6343455ca60113925221 /subprojects/frontend/src/index.tsx | |
parent | refactor(frontend): more readable indentation (diff) | |
download | refinery-eb94326bb64552dbd7df62ae201ccca37f368467.tar.gz refinery-eb94326bb64552dbd7df62ae201ccca37f368467.tar.zst refinery-eb94326bb64552dbd7df62ae201ccca37f368467.zip |
feat(frontend): show connection status
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 />}> |