diff --git a/client/modules/IDE/components/CollectionList/CollectionListRow.jsx b/client/modules/IDE/components/CollectionList/CollectionListRow.jsx index 6b714bde..47bd135b 100644 --- a/client/modules/IDE/components/CollectionList/CollectionListRow.jsx +++ b/client/modules/IDE/components/CollectionList/CollectionListRow.jsx @@ -227,6 +227,13 @@ CollectionListRowBase.propTypes = { owner: PropTypes.shape({ username: PropTypes.string.isRequired, }).isRequired, + createdAt: PropTypes.string.isRequired, + updatedAt: PropTypes.string.isRequired, + items: PropTypes.arrayOf(PropTypes.shape({ + project: PropTypes.shape({ + id: PropTypes.string.isRequired + }) + })) }).isRequired, project: PropTypes.shape({ id: PropTypes.string.isRequired, diff --git a/client/modules/IDE/components/SketchList.jsx b/client/modules/IDE/components/SketchList.jsx index 2f25c7a7..26ad3d7c 100644 --- a/client/modules/IDE/components/SketchList.jsx +++ b/client/modules/IDE/components/SketchList.jsx @@ -437,15 +437,6 @@ SketchList.propTypes = { createdAt: PropTypes.string.isRequired, updatedAt: PropTypes.string.isRequired })).isRequired, - collection: PropTypes.shape({ - id: PropTypes.string.isRequired, - name: PropTypes.string.isRequired, - items: PropTypes.arrayOf(PropTypes.shape({ - project: PropTypes.shape({ - id: PropTypes.string.isRequired, - }), - })), - }).isRequired, username: PropTypes.string, loading: PropTypes.bool.isRequired, toggleDirectionForField: PropTypes.func.isRequired, diff --git a/client/modules/User/components/Collection.jsx b/client/modules/User/components/Collection.jsx index 002d9921..1a338388 100644 --- a/client/modules/User/components/Collection.jsx +++ b/client/modules/User/components/Collection.jsx @@ -89,9 +89,13 @@ CollectionItemRowBase.propTypes = { name: PropTypes.string.isRequired }).isRequired, item: PropTypes.shape({ + createdAt: PropTypes.string.isRequired, project: PropTypes.shape({ id: PropTypes.string.isRequired, name: PropTypes.string.isRequired, + user: PropTypes.shape({ + username: PropTypes.string.isRequired + }) }).isRequired, }).isRequired, user: PropTypes.shape({ @@ -204,7 +208,9 @@ class Collection extends React.Component {