Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Dec 4, 2023
1 parent 90319ae commit 6267893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AttachmentModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import withWindowDimensions, {windowDimensionsPropTypes} from './withWindowDimen

const propTypes = {
/** Optional source (URL, SVG function) for the image shown. If not passed in via props must be specified when modal is opened. */
source: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
source: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.number]),

/** Optional callback to fire when we want to preview an image and approve it for use. */
onConfirm: PropTypes.func,
Expand Down

0 comments on commit 6267893

Please sign in to comment.