diff --git a/src/components/SelectionListWithSections/Search/ActionCell.tsx b/src/components/SelectionListWithSections/Search/ActionCell.tsx index e53a40dd7d88..7d54d6bd291a 100644 --- a/src/components/SelectionListWithSections/Search/ActionCell.tsx +++ b/src/components/SelectionListWithSections/Search/ActionCell.tsx @@ -5,6 +5,7 @@ import Badge from '@components/Badge'; import Button from '@components/Button'; import * as Expensicons from '@components/Icon/Expensicons'; import type {PaymentMethod} from '@components/KYCWall/types'; +import {SearchScopeProvider} from '@components/Search/SearchScopeProvider'; import type {PaymentData} from '@components/Search/types'; import SettlementButton from '@components/SettlementButton'; import useLocalize from '@hooks/useLocalize'; @@ -150,24 +151,26 @@ function ActionCell({ if (action === CONST.SEARCH.ACTION_TYPES.PAY) { return ( - confirmPayment(type as ValueOf, payAsBusiness, methodID, paymentMethod)} - style={[styles.w100]} - wrapperStyle={[styles.w100]} - shouldShowPersonalBankAccountOption={!policyID && !iouReport?.policyID} - isDisabled={isOffline} - isLoading={isLoading} - onlyShowPayElsewhere={shouldOnlyShowElsewhere} - /> + + confirmPayment(type as ValueOf, payAsBusiness, methodID, paymentMethod)} + style={[styles.w100]} + wrapperStyle={[styles.w100]} + shouldShowPersonalBankAccountOption={!policyID && !iouReport?.policyID} + isDisabled={isOffline} + isLoading={isLoading} + onlyShowPayElsewhere={shouldOnlyShowElsewhere} + /> + ); }