From ce84dddc34d0dd0976a4764d09624da33594dad2 Mon Sep 17 00:00:00 2001 From: Paul Kaplan Date: Tue, 9 Oct 2018 11:38:34 -0400 Subject: [PATCH] Fix proptype warning for project id --- src/views/preview/comment/comment.jsx | 2 +- src/views/preview/comment/compose-comment.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,