Skip to content

Commit

Permalink
Merge pull request Expensify#22726 from Expensify/vitFixConsoleError
Browse files Browse the repository at this point in the history
  • Loading branch information
thienlnam authored Jul 12, 2023
2 parents 3585d7b + 826e3a9 commit aa53543
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/ReportActionItem/ReportPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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({
Expand Down

0 comments on commit aa53543

Please sign in to comment.