Skip to content

Commit

Permalink
Merge pull request #1118 from data-mermaid/image-classification/error…
Browse files Browse the repository at this point in the history
…-messages

Remove easy-to-remove console warnings
  • Loading branch information
mmnoo authored Jan 18, 2025
2 parents 52c472d + 3250ebf commit 5c121fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/FilterSearchToolbar/FilterSearchToolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ FilterSearchToolbar.propTypes = {
id: PropTypes.string,
name: PropTypes.string.isRequired,
disabled: PropTypes.bool,
globalSearchText: PropTypes.string.isRequired,
globalSearchText: PropTypes.string,
handleGlobalFilterChange: PropTypes.func.isRequired,
type: PropTypes.string,
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/NewAttributeModal/NewAttributeModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ MainContentPages.propTypes = {
handleFormikPageOneValueChange: PropTypes.func.isRequired,
handleNewAttributeChange: PropTypes.func.isRequired,
handleSubmit: PropTypes.func.isRequired,
attributeName: PropTypes.string.isRequired,
attributeName: PropTypes.string,
}

NewAttributeModal.propTypes = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ BenthicPhotoQuadratTransectInputs.propTypes = {
validationsApiData: PropTypes.shape({ quadrat_transect: benthicpqtValidationPropType })
.isRequired,
validationPropertiesWithDirtyResetOnInputChange: PropTypes.func.isRequired,
isImageClassification: PropTypes.bool.isRequired,
isImageClassification: PropTypes.bool,
}

export default BenthicPhotoQuadratTransectInputs

0 comments on commit 5c121fd

Please sign in to comment.