1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 08:28:11 +00:00

fix warning in other format of files

This commit is contained in:
LeoSirius
2019-04-19 21:32:54 +08:00
parent 001235945f
commit 58440a94b9
2 changed files with 6 additions and 6 deletions

View File

@@ -10,10 +10,10 @@ import CommentPanel from './comment-panel';
import '../../css/file-view.css';
const propTypes = {
onSaveChangedContent: PropTypes.func.isRequired,
onSaveChangedContent: PropTypes.func,
content: PropTypes.object.isRequired,
isSaving: PropTypes.bool.isRequired,
isContentChangedButNotSaved: PropTypes.bool.isRequired,
isSaving: PropTypes.bool,
isContentChangedButNotSaved: PropTypes.bool,
};
const { isStarred, isLocked, lockedByMe,