diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-28 13:36:19 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-28 13:36:19 -0700 |
commit | ba70d247fbfec51a5dd2c02433a490c4a7ec54d6 (patch) | |
tree | 8e31a7df9a0085c85c03a4e9296edef74bd2987c /modern/src/settings/CalendarPage.js | |
parent | bab9fb10c0bb0a497de6cf4fc8a8d1a684074cea (diff) | |
download | trackermap-web-ba70d247fbfec51a5dd2c02433a490c4a7ec54d6.tar.gz trackermap-web-ba70d247fbfec51a5dd2c02433a490c4a7ec54d6.tar.bz2 trackermap-web-ba70d247fbfec51a5dd2c02433a490c4a7ec54d6.zip |
Update dropzone version
Diffstat (limited to 'modern/src/settings/CalendarPage.js')
-rw-r--r-- | modern/src/settings/CalendarPage.js | 4 |
1 files changed, 3 insertions, 1 deletions
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> |