Skip to content

Commit

Permalink
fix console error on the description push-to-page in the send money flow
Browse files Browse the repository at this point in the history
  • Loading branch information
akinwale committed Oct 16, 2023
1 parent 83d0dbf commit 21bb00c
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 21bb00c

Please sign in to comment.