Skip to content

Commit

Permalink
Merge pull request #29673 from akinwale/task-29296
Browse files Browse the repository at this point in the history
fix: console error on the description push-to-page in the Send money flow
  • Loading branch information
youssef-lr authored Oct 18, 2023
2 parents e8cb124 + 21bb00c commit a24e6a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/iou/MoneyRequestDescriptionPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@ const propTypes = {
}).isRequired,

/** The current tab we have navigated to in the request modal. String that corresponds to the request type. */
selectedTab: PropTypes.oneOf([CONST.TAB.DISTANCE, CONST.TAB.MANUAL, CONST.TAB.SCAN]).isRequired,
selectedTab: PropTypes.oneOf(['', CONST.TAB.DISTANCE, CONST.TAB.MANUAL, CONST.TAB.SCAN]),
};

const defaultProps = {
iou: iouDefaultProps,
selectedTab: '',
};

function MoneyRequestDescriptionPage({iou, route, selectedTab}) {
Expand Down

0 comments on commit a24e6a0

Please sign in to comment.