From 9f344833d6abb864d3dc0ccbd578ff4acb20f633 Mon Sep 17 00:00:00 2001 From: dominictb Date: Thu, 22 Aug 2024 17:37:40 +0700 Subject: [PATCH] fix: remove redundant readonly condition --- src/components/ReportActionItem/MoneyRequestView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ReportActionItem/MoneyRequestView.tsx b/src/components/ReportActionItem/MoneyRequestView.tsx index 1a7cf5f9de6b..8ff6e970e326 100644 --- a/src/components/ReportActionItem/MoneyRequestView.tsx +++ b/src/components/ReportActionItem/MoneyRequestView.tsx @@ -672,7 +672,7 @@ function MoneyRequestView({ accessibilityLabel={translate('common.billable')} isOn={updatedTransaction?.billable ?? !!transactionBillable} onToggle={saveBillable} - disabled={!canEdit || readonly} + disabled={!canEdit} /> )}