From 21bb00ccce46dc2dfe107fe4df6d3f692435e586 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Mon, 16 Oct 2023 13:32:22 +0100 Subject: [PATCH] fix console error on the description push-to-page in the send money flow --- src/pages/iou/MoneyRequestDescriptionPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/iou/MoneyRequestDescriptionPage.js b/src/pages/iou/MoneyRequestDescriptionPage.js index 6570cffb58d4..cfdbb60b4f0d 100644 --- a/src/pages/iou/MoneyRequestDescriptionPage.js +++ b/src/pages/iou/MoneyRequestDescriptionPage.js @@ -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}) {