Skip to content

Commit

Permalink
remove require for smart scan
Browse files Browse the repository at this point in the history
  • Loading branch information
waterim committed Dec 7, 2023
1 parent 7fcc36e commit 3a81ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MoneyRequestConfirmationList.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3a81ea4

Please sign in to comment.