diff --git a/src/components/ReportActionItem/ReportPreview.js b/src/components/ReportActionItem/ReportPreview.js index b1aafa6414c2..27dcbbf1d4d0 100644 --- a/src/components/ReportActionItem/ReportPreview.js +++ b/src/components/ReportActionItem/ReportPreview.js @@ -23,6 +23,7 @@ import * as IOU from '../../libs/actions/IOU'; import refPropTypes from '../refPropTypes'; import PressableWithoutFeedback from '../Pressable/PressableWithoutFeedback'; import themeColors from '../../styles/themes/default'; +import reportPropTypes from '../../pages/reportPropTypes'; const propTypes = { /** All the data of the action */ @@ -37,10 +38,7 @@ const propTypes = { /* Onyx Props */ /** chatReport associated with iouReport */ - chatReport: PropTypes.shape({ - /** Whether the chat report has an outstanding IOU */ - hasOutstandingIOU: PropTypes.bool.isRequired, - }), + chatReport: reportPropTypes, /** Active IOU Report for current report */ iouReport: PropTypes.shape({