Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved code quality #94

Merged
merged 1 commit into from
Dec 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/DropzoneArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,4 +300,5 @@ DropzoneArea.propTypes = {
onDropRejected: PropTypes.func,
onDelete: PropTypes.func
};
export default withStyles(styles)(DropzoneArea)

export default withStyles(styles)(DropzoneArea);
4 changes: 2 additions & 2 deletions src/PreviewList.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const styles = {
opacity: 1
}
}
}
};

function PreviewList(props) {
const { fileObjects, handleRemove, showFileNames, useChipsForPreview, previewChipProps, classes } = props;
Expand Down Expand Up @@ -90,4 +90,4 @@ function PreviewList(props) {
)
}

export default withStyles(styles)(PreviewList);
export default withStyles(styles)(PreviewList);
4 changes: 1 addition & 3 deletions src/SnackbarContentWrapper.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
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';
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';
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DropzoneArea from './DropzoneArea';
import DropzoneDialog from './DropzoneDialog'
import DropzoneDialog from './DropzoneDialog';

export {DropzoneArea};
export {DropzoneDialog};
export {DropzoneDialog};