Fix proptype warning for project id

This commit is contained in:
Paul Kaplan 2018-10-09 11:38:34 -04:00
parent bdde34ba26
commit ce84dddc34
2 changed files with 2 additions and 2 deletions

View file

@ -196,7 +196,7 @@ Comment.propTypes = {
onAddComment: PropTypes.func, onAddComment: PropTypes.func,
onDelete: PropTypes.func, onDelete: PropTypes.func,
onReport: PropTypes.func, onReport: PropTypes.func,
projectId: PropTypes.number, projectId: PropTypes.string,
reported: PropTypes.bool reported: PropTypes.bool
}; };

View file

@ -183,7 +183,7 @@ ComposeComment.propTypes = {
onAddComment: PropTypes.func, onAddComment: PropTypes.func,
onCancel: PropTypes.func, onCancel: PropTypes.func,
parentId: PropTypes.number, parentId: PropTypes.number,
projectId: PropTypes.number, projectId: PropTypes.string,
user: PropTypes.shape({ user: PropTypes.shape({
id: PropTypes.number, id: PropTypes.number,
username: PropTypes.string, username: PropTypes.string,