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,
|
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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue