mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 10:50:24 +00:00
Fix eslint warnings (#5635)
* 01 fix eslint warnings * fix code warnings * fix code warnings * fix code warnings * fix code warnings * fix code warnings
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import React, { Fragment } from 'react';
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { gettext } from '../../utils/constants';
|
||||
|
||||
import Lightbox from '@seafile/react-image-lightbox';
|
||||
import '@seafile/react-image-lightbox/style.css';
|
||||
|
||||
@@ -14,9 +13,6 @@ const propTypes = {
|
||||
};
|
||||
|
||||
class ImageDialog extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
render() {
|
||||
const imageItems = this.props.imageItems;
|
||||
|
Reference in New Issue
Block a user