aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/package.json2
-rw-r--r--modern/src/settings/CalendarPage.js4
2 files changed, 4 insertions, 2 deletions
diff --git a/modern/package.json b/modern/package.json
index 3b052e52..e3cec64b 100644
--- a/modern/package.json
+++ b/modern/package.json
@@ -16,10 +16,10 @@
"@turf/turf": "^6.5.0",
"mapbox-gl": "^1.13.2",
"maplibre-gl": "^2.1.9",
- "material-ui-dropzone": "^3.5.0",
"moment": "^2.29.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
+ "react-mui-dropzone": "^4.0.6",
"react-redux": "^8.0.2",
"react-router-dom": "^6.3.0",
"react-scripts": "^5.0.1",
diff --git a/modern/src/settings/CalendarPage.js b/modern/src/settings/CalendarPage.js
index 8bfcd50d..463b7d8c 100644
--- a/modern/src/settings/CalendarPage.js
+++ b/modern/src/settings/CalendarPage.js
@@ -5,11 +5,12 @@ import {
} from '@mui/material';
import makeStyles from '@mui/styles/makeStyles';
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
-import { DropzoneArea } from 'material-ui-dropzone';
+import { DropzoneArea } from 'react-mui-dropzone';
import EditItemView from './components/EditItemView';
import EditAttributesView from './components/EditAttributesView';
import { useTranslation } from '../common/components/LocalizationProvider';
import SettingsMenu from './components/SettingsMenu';
+import components from '../common/theme/components';
const useStyles = makeStyles((theme) => ({
details: {
@@ -67,6 +68,7 @@ const CalendarPage = () => {
<DropzoneArea
filesLimit={1}
onChange={handleFiles}
+ alertSnackbarProps={components.MuiSnackbar.defaultProps}
/>
</AccordionDetails>
</Accordion>