Fix proptypes

This commit is contained in:
Paul Kaplan 2018-10-24 10:43:21 -04:00
parent 520018ee50
commit faf3f49c50
2 changed files with 2 additions and 2 deletions

View file

@ -176,7 +176,7 @@ TopLevelComment.propTypes = {
datetimeCreated: PropTypes.string,
defaultExpanded: PropTypes.bool,
deletable: PropTypes.bool,
highlightedCommentId: PropTypes.number,
highlightedCommentId: PropTypes.oneOfType([PropTypes.number, PropTypes.bool]),
id: PropTypes.number,
onAddComment: PropTypes.func,
onDelete: PropTypes.func,

View file

@ -455,7 +455,7 @@ PreviewPresentation.propTypes = {
remixes: PropTypes.arrayOf(PropTypes.object),
replies: PropTypes.objectOf(PropTypes.array),
reportOpen: PropTypes.bool,
singleCommentId: PropTypes.number,
singleCommentId: PropTypes.oneOfType([PropTypes.number, PropTypes.bool]),
userOwnsProject: PropTypes.bool
};