From 5ba9a2b28dc826b3715ae16427e1339245489797 Mon Sep 17 00:00:00 2001 From: I Nyoman Jyotisa Date: Wed, 4 Jun 2025 14:22:56 +0800 Subject: [PATCH] Remove totals from report action buttons --- src/components/MoneyReportHeader.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/MoneyReportHeader.tsx b/src/components/MoneyReportHeader.tsx index 4355ab52da62..62df99a038c7 100644 --- a/src/components/MoneyReportHeader.tsx +++ b/src/components/MoneyReportHeader.tsx @@ -460,7 +460,6 @@ function MoneyReportHeader({ formattedAmount: getTotalAmountForIOUReportPreviewButton(moneyRequestReport, policy, actionType), }); - const {formattedAmount: payAmount} = getAmount(CONST.REPORT.PRIMARY_ACTIONS.PAY); const {formattedAmount: totalAmount} = hasOnlyHeldExpenses ? getAmount(CONST.REPORT.REPORT_PREVIEW_ACTIONS.REVIEW) : getAmount(CONST.REPORT.PRIMARY_ACTIONS.PAY); const paymentButtonOptions = usePaymentOptions({ @@ -527,7 +526,7 @@ function MoneyReportHeader({