mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 02:10: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:
@@ -8,7 +8,7 @@ import toaster from '../toast';
|
||||
|
||||
const propTypes = {
|
||||
member: PropTypes.object.isRequired,
|
||||
groupID: PropTypes.string.isRequired,
|
||||
groupID: PropTypes.string,
|
||||
toggle: PropTypes.func.isRequired,
|
||||
onMemberChanged: PropTypes.func.isRequired
|
||||
};
|
||||
@@ -30,7 +30,7 @@ class DeleteMemberDialog extends React.Component {
|
||||
let errMessage = Utils.getErrorMsg(error);
|
||||
toaster.danger(errMessage);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
render() {
|
||||
let subtitle = gettext('Are you sure you want to delete {placeholder} ?');
|
||||
|
Reference in New Issue
Block a user