mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-27 07:44:50 +00:00
optimize
This commit is contained in:
@@ -1,16 +1,6 @@
|
||||
import React, { Fragment } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import {
|
||||
Modal,
|
||||
ModalHeader,
|
||||
ModalBody,
|
||||
Dropdown,
|
||||
DropdownToggle,
|
||||
DropdownMenu,
|
||||
DropdownItem,
|
||||
TabPane,
|
||||
Nav, NavItem, NavLink, TabContent
|
||||
} from 'reactstrap';
|
||||
import { Modal, ModalHeader, ModalBody, Dropdown, DropdownToggle, DropdownMenu, DropdownItem, TabPane, Nav, NavItem, NavLink, TabContent } from 'reactstrap';
|
||||
import { Utils } from './utils/utils';
|
||||
import { gettext } from './utils/constants';
|
||||
import { seafileAPI } from './utils/seafile-api';
|
||||
@@ -311,8 +301,7 @@ class UserNotificationsDialog extends React.Component {
|
||||
}
|
||||
|
||||
UserNotificationsDialog.propTypes = {
|
||||
onNotificationDialogToggle: PropTypes.func.isRequired,
|
||||
tabItemClick: PropTypes.func.isRequired,
|
||||
onNotificationDialogToggle: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
export default UserNotificationsDialog;
|
||||
|
Reference in New Issue
Block a user