From 3a81ea41d5c8b1d763e8b1a80c072462e5369ea3 Mon Sep 17 00:00:00 2001 From: Artem Makushov Date: Thu, 7 Dec 2023 15:01:36 +0100 Subject: [PATCH] remove require for smart scan --- src/components/MoneyRequestConfirmationList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MoneyRequestConfirmationList.js b/src/components/MoneyRequestConfirmationList.js index d2d8e381bba3..33c049b45265 100755 --- a/src/components/MoneyRequestConfirmationList.js +++ b/src/components/MoneyRequestConfirmationList.js @@ -267,7 +267,7 @@ function MoneyRequestConfirmationList(props) { return (props.hasSmartScanFailed && TransactionUtils.hasMissingSmartscanFields(transaction)) || (didConfirmSplit && TransactionUtils.areRequiredFieldsEmpty(transaction)); }, [props.isEditingSplitBill, props.hasSmartScanFailed, transaction, didConfirmSplit]); - const isIOUMerchantPresent = props.isPolicyExpenseChat && !props.iouMerchant; + const isIOUMerchantPresent = props.isPolicyExpenseChat && !props.isScanRequest && !props.iouMerchant; useEffect(() => { if (shouldDisplayFieldError && props.hasSmartScanFailed) {