From 14a9e7e56ebd6d51a04eac51a41e17724838b484 Mon Sep 17 00:00:00 2001 From: Rutika Pawar <183392827+twilight2294@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:36:24 +0530 Subject: [PATCH 1/3] set default value of success prop to true --- src/components/ButtonWithDropdownMenu/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ButtonWithDropdownMenu/index.tsx b/src/components/ButtonWithDropdownMenu/index.tsx index f86e0c2da999..7cf752a61214 100644 --- a/src/components/ButtonWithDropdownMenu/index.tsx +++ b/src/components/ButtonWithDropdownMenu/index.tsx @@ -17,7 +17,7 @@ import type {AnchorPosition} from '@src/styles'; import type {ButtonWithDropdownMenuProps} from './types'; function ButtonWithDropdownMenu({ - success = false, + success = true, isSplitButton = true, isLoading = false, isDisabled = false, From d4170854d733cdd21fe1b3522f292832b5284480 Mon Sep 17 00:00:00 2001 From: Rutika Pawar <183392827+twilight2294@users.noreply.github.com> Date: Tue, 26 Nov 2024 18:38:19 +0530 Subject: [PATCH 2/3] remove default success prop --- src/components/MoneyRequestConfirmationList.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/MoneyRequestConfirmationList.tsx b/src/components/MoneyRequestConfirmationList.tsx index b87c51cc6b64..6a888a09b60b 100755 --- a/src/components/MoneyRequestConfirmationList.tsx +++ b/src/components/MoneyRequestConfirmationList.tsx @@ -853,7 +853,6 @@ function MoneyRequestConfirmationList({ /> ) : ( confirm(value as PaymentMethodType)} options={splitOrRequestOptions} From 85a5a19fcc4726b187ad8cc1ebb29edf717266a7 Mon Sep 17 00:00:00 2001 From: Rutika Pawar <183392827+twilight2294@users.noreply.github.com> Date: Tue, 26 Nov 2024 18:38:40 +0530 Subject: [PATCH 3/3] remove default success prop --- src/components/SettlementButton/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/SettlementButton/index.tsx b/src/components/SettlementButton/index.tsx index ed1d8fd73565..d2b84f6cd54a 100644 --- a/src/components/SettlementButton/index.tsx +++ b/src/components/SettlementButton/index.tsx @@ -238,7 +238,6 @@ function SettlementButton({ > {(triggerKYCFlow, buttonRef) => ( - success onOptionsMenuShow={onPaymentOptionsShow} onOptionsMenuHide={onPaymentOptionsHide} buttonRef={buttonRef}