Skip to content

Commit

Permalink
Silence required prop warnings (prop values get defined after compone…
Browse files Browse the repository at this point in the history
…nt definition)
  • Loading branch information
mluypaert committed Feb 14, 2024
1 parent 2339fda commit 3dea6d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/containers/Entity/EntityProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ EntityProfile.propTypes = {
entityType: PropTypes.string.isRequired,
wbId: PropTypes.string.isRequired,
apiPrefix: PropTypes.string,
withFieldData: PropTypes.func.isRequired,
dirtinessContext: PropTypes.func.isRequired,
withFieldData: PropTypes.func,
dirtinessContext: PropTypes.func,
errorMessage: PropTypes.string,
message: PropTypes.string,
messageVariant: PropTypes.oneOf(['info', 'warning']),
Expand Down

0 comments on commit 3dea6d2

Please sign in to comment.