aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/settings/CalendarPage.js2
-rw-r--r--modern/src/settings/DevicePage.js2
2 files changed, 0 insertions, 4 deletions
diff --git a/modern/src/settings/CalendarPage.js b/modern/src/settings/CalendarPage.js
index 81273b6b..27fdb462 100644
--- a/modern/src/settings/CalendarPage.js
+++ b/modern/src/settings/CalendarPage.js
@@ -10,7 +10,6 @@ import EditItemView from './components/EditItemView';
import EditAttributesAccordion from './components/EditAttributesAccordion';
import { useTranslation } from '../common/components/LocalizationProvider';
import SettingsMenu from './components/SettingsMenu';
-import components from '../common/theme/components';
const useStyles = makeStyles((theme) => ({
details: {
@@ -69,7 +68,6 @@ const CalendarPage = () => {
dropzoneText={t('sharedDropzoneText')}
filesLimit={1}
onChange={handleFiles}
- alertSnackbarProps={components.MuiSnackbar.defaultProps}
showAlerts={false}
/>
</AccordionDetails>
diff --git a/modern/src/settings/DevicePage.js b/modern/src/settings/DevicePage.js
index 7f33d1f8..bf79109b 100644
--- a/modern/src/settings/DevicePage.js
+++ b/modern/src/settings/DevicePage.js
@@ -24,7 +24,6 @@ import { useAdministrator } from '../common/util/permissions';
import SettingsMenu from './components/SettingsMenu';
import useCommonDeviceAttributes from '../common/attributes/useCommonDeviceAttributes';
import useFeatures from '../common/util/useFeatures';
-import components from '../common/theme/components';
import { useCatch } from '../reactHelper';
const useStyles = makeStyles((theme) => ({
@@ -154,7 +153,6 @@ const DevicePage = () => {
acceptedFiles={['image/*']}
filesLimit={1}
onChange={handleFiles}
- alertSnackbarProps={components.MuiSnackbar.defaultProps}
showAlerts={false}
/>
</AccordionDetails>