mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
Warn user in WebUI of unsaved changes #911
This commit is contained in:
@@ -4,8 +4,6 @@ import { SnackbarProvider } from 'notistack';
|
||||
import { IconButton } from '@mui/material';
|
||||
import CloseIcon from '@mui/icons-material/Close';
|
||||
|
||||
import { FeaturesLoader } from './contexts/features';
|
||||
|
||||
import CustomTheme from './CustomTheme';
|
||||
import AppRouting from './AppRouting';
|
||||
|
||||
@@ -44,9 +42,9 @@ const App: FC = () => {
|
||||
</IconButton>
|
||||
)}
|
||||
>
|
||||
<FeaturesLoader>
|
||||
<AppRouting />
|
||||
</FeaturesLoader>
|
||||
{/* <FeaturesLoader> */}
|
||||
<AppRouting />
|
||||
{/* </FeaturesLoader> */}
|
||||
</SnackbarProvider>
|
||||
</CustomTheme>
|
||||
</TypesafeI18n>
|
||||
|
||||
Reference in New Issue
Block a user