diff --git a/src/DropzoneArea.js b/src/DropzoneArea.js index a793b25a..d1d8ec09 100644 --- a/src/DropzoneArea.js +++ b/src/DropzoneArea.js @@ -300,4 +300,5 @@ DropzoneArea.propTypes = { onDropRejected: PropTypes.func, onDelete: PropTypes.func }; -export default withStyles(styles)(DropzoneArea) + +export default withStyles(styles)(DropzoneArea); diff --git a/src/PreviewList.js b/src/PreviewList.js index 76deaf6d..6b3d5c6f 100644 --- a/src/PreviewList.js +++ b/src/PreviewList.js @@ -42,7 +42,7 @@ const styles = { opacity: 1 } } -} +}; function PreviewList(props) { const { fileObjects, handleRemove, showFileNames, useChipsForPreview, previewChipProps, classes } = props; @@ -90,4 +90,4 @@ function PreviewList(props) { ) } -export default withStyles(styles)(PreviewList); \ No newline at end of file +export default withStyles(styles)(PreviewList); diff --git a/src/SnackbarContentWrapper.js b/src/SnackbarContentWrapper.js index 78ed21e3..33456397 100644 --- a/src/SnackbarContentWrapper.js +++ b/src/SnackbarContentWrapper.js @@ -1,7 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import classnames from 'classnames' -import Button from '@material-ui/core/Button'; +import classnames from 'classnames'; import CheckCircleIcon from '@material-ui/icons/CheckCircle'; import ErrorIcon from '@material-ui/icons/Error'; import InfoIcon from '@material-ui/icons/Info'; @@ -9,7 +8,6 @@ import CloseIcon from '@material-ui/icons/Close'; import green from '@material-ui/core/colors/green'; import amber from '@material-ui/core/colors/amber'; import IconButton from '@material-ui/core/IconButton'; -import Snackbar from '@material-ui/core/Snackbar'; import SnackbarContent from '@material-ui/core/SnackbarContent'; import WarningIcon from '@material-ui/icons/Warning'; import { withStyles } from '@material-ui/core/styles'; diff --git a/src/index.js b/src/index.js index a0b357be..fa2b88d5 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,5 @@ import DropzoneArea from './DropzoneArea'; -import DropzoneDialog from './DropzoneDialog' +import DropzoneDialog from './DropzoneDialog'; export {DropzoneArea}; -export {DropzoneDialog}; \ No newline at end of file +export {DropzoneDialog};