diff --git a/src/views/preview/comment/comment.jsx b/src/views/preview/comment/comment.jsx index fcfaa8930..22b5c28a2 100644 --- a/src/views/preview/comment/comment.jsx +++ b/src/views/preview/comment/comment.jsx @@ -196,7 +196,7 @@ Comment.propTypes = { onAddComment: PropTypes.func, onDelete: PropTypes.func, onReport: PropTypes.func, - projectId: PropTypes.number, + projectId: PropTypes.string, reported: PropTypes.bool }; diff --git a/src/views/preview/comment/compose-comment.jsx b/src/views/preview/comment/compose-comment.jsx index 0db753c58..73f07733c 100644 --- a/src/views/preview/comment/compose-comment.jsx +++ b/src/views/preview/comment/compose-comment.jsx @@ -183,7 +183,7 @@ ComposeComment.propTypes = { onAddComment: PropTypes.func, onCancel: PropTypes.func, parentId: PropTypes.number, - projectId: PropTypes.number, + projectId: PropTypes.string, user: PropTypes.shape({ id: PropTypes.number, username: PropTypes.string,