Skip to content
Snippets Groups Projects
Commit 72f01a46 authored by Lutz Helm's avatar Lutz Helm
Browse files

Fix lint problems in AnnotationExportDialog

parent a2fa01ca
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,8 @@ import Typography from '@material-ui/core/Typography';
import PropTypes, { bool } from 'prop-types';
import { withStyles } from '@material-ui/core';
const styles = theme => ({
/** */
const styles = (theme) => ({
listitem: {
'&:focus': {
backgroundColor: theme.palette.action.focus,
......@@ -20,7 +21,7 @@ const styles = theme => ({
backgroundColor: theme.palette.action.hover,
},
},
})
});
/** */
class AnnotationExportDialog extends Component {
......@@ -122,6 +123,7 @@ AnnotationExportDialog.propTypes = {
canvases: PropTypes.arrayOf(
PropTypes.shape({ id: PropTypes.string, index: PropTypes.number }),
).isRequired,
classes: PropTypes.objectOf(PropTypes.string),
config: PropTypes.shape({
annotation: PropTypes.shape({
adapter: PropTypes.func,
......@@ -131,4 +133,8 @@ AnnotationExportDialog.propTypes = {
open: bool.isRequired,
};
AnnotationExportDialog.defaultProps = {
classes: {},
};
export default withStyles(styles)(AnnotationExportDialog);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment