diff --git a/src/components/EnhancedMap/ImageMarkerLayer/ImageMarkerLayer.jsx b/src/components/EnhancedMap/ImageMarkerLayer/ImageMarkerLayer.jsx index 044cf3cb0..196cb2a9d 100644 --- a/src/components/EnhancedMap/ImageMarkerLayer/ImageMarkerLayer.jsx +++ b/src/components/EnhancedMap/ImageMarkerLayer/ImageMarkerLayer.jsx @@ -66,7 +66,7 @@ ImageMarkerLayer.propTypes = { key: PropTypes.string.isRequired, url: PropTypes.string.isRequired, }), - ).isRequired, + ), imageClicked: PropTypes.func.isRequired, markerColor: PropTypes.string, }; diff --git a/src/components/TaskHistoryList/TaskHistoryList.jsx b/src/components/TaskHistoryList/TaskHistoryList.jsx index 9b28861fc..f164ebfba 100644 --- a/src/components/TaskHistoryList/TaskHistoryList.jsx +++ b/src/components/TaskHistoryList/TaskHistoryList.jsx @@ -460,7 +460,7 @@ const CommentEntry = ({ entry, props, index }) => { }; const commentEntry = (entry, props, index) => { - return ; + return ; }; const statusEntry = (entry, props) => { @@ -509,10 +509,10 @@ const ReviewStatusLabel = (props) => ( ); TaskHistoryList.propTypes = { - /** The history to display */ + /** The history to display in the task history list */ taskHistory: PropTypes.arrayOf( PropTypes.shape({ - actionType: PropTypes.integer, + actionType: PropTypes.number, timestamp: PropTypes.string, comment: PropTypes.string, }),