mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -05:00
Fix proptype warning for project id
This commit is contained in:
parent
bdde34ba26
commit
ce84dddc34
2 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ Comment.propTypes = {
|
|||
onAddComment: PropTypes.func,
|
||||
onDelete: PropTypes.func,
|
||||
onReport: PropTypes.func,
|
||||
projectId: PropTypes.number,
|
||||
projectId: PropTypes.string,
|
||||
reported: PropTypes.bool
|
||||
};
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue