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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user