Skip to content

Commit

Permalink
Fix ImageModal properties
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmegorei committed Oct 14, 2024
1 parent 2c6e519 commit 0866fd8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/packs/src/components/common/ImageModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default class ImageModal extends Component {

ImageModal.propTypes = {
imageStyle: PropTypes.object,
hasPop: PropTypes.bool.isRequired,
hasPop: PropTypes.bool,
previewObject: PropTypes.shape({
src: PropTypes.string,
}).isRequired,
Expand All @@ -217,5 +217,6 @@ ImageModal.propTypes = {
ImageModal.defaultProps = {
imageStyle: {},
disableClick: false,
showPopImage: false
showPopImage: false,
hasPop: false
};

0 comments on commit 0866fd8

Please sign in to comment.