aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorEder Diego de Sousa <me@diego.dev.br>2022-07-20 16:46:18 -0300
committerEder Diego de Sousa <me@diego.dev.br>2022-07-20 16:46:18 -0300
commit96ae3dcfc01b0f6200b7dccc3dc1837562685308 (patch)
tree45653241eb531a959a8b82b9a14e1bac7c206bcb /modern
parent594fdd503e66d464647140f424040cd82087b515 (diff)
downloadtrackermap-web-96ae3dcfc01b0f6200b7dccc3dc1837562685308.tar.gz
trackermap-web-96ae3dcfc01b0f6200b7dccc3dc1837562685308.tar.bz2
trackermap-web-96ae3dcfc01b0f6200b7dccc3dc1837562685308.zip
remove unecessary component
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>