From f921c1053336591294188ae8c88c03032116339c Mon Sep 17 00:00:00 2001 From: Lokesh Jain Date: Thu, 18 Jan 2024 14:22:12 +0530 Subject: [PATCH] fix: make basic details form to accept form input without Save button --- .../HyperSwitch/Routing/RoutingUtils.res | 4 +- .../Routing/VolumeSplitRouting.res | 14 +-- .../RoutingRevamp/AdvancedRouting.res | 8 +- .../RoutingRevamp/BasicDetailsForm.res | 115 +++--------------- .../HyperSwitch/Surcharge/Surcharge.res | 3 +- .../ThreeDSFlow/HSwitchThreeDS.res | 3 +- 6 files changed, 22 insertions(+), 125 deletions(-) diff --git a/src/screens/HyperSwitch/Routing/RoutingUtils.res b/src/screens/HyperSwitch/Routing/RoutingUtils.res index 0a4f4067a..1816536d9 100644 --- a/src/screens/HyperSwitch/Routing/RoutingUtils.res +++ b/src/screens/HyperSwitch/Routing/RoutingUtils.res @@ -537,7 +537,7 @@ module SaveAndActivateButton = { } module ConfigureRuleButton = { @react.component - let make = (~setShowModal, ~isConfigButtonEnabled) => { + let make = (~setShowModal) => { let formState: ReactFinalForm.formState = ReactFinalForm.useFormState( ReactFinalForm.useFormSubscription(["values"])->Js.Nullable.return, ) @@ -545,7 +545,7 @@ module ConfigureRuleButton = {