From 4bfebf9f798d073052fc8b9fbceb3ec3931a557f Mon Sep 17 00:00:00 2001
From: Pritish Budhiraja <1805317@kiit.ac.in>
Date: Fri, 15 Dec 2023 13:02:01 +0530
Subject: [PATCH] refactor: key fix
---
.../Routing/AdvancedRouting/RoutingPreviewer.res | 13 +++++--------
.../RoutingRevamp/AdvancedRoutingUIUtils.res | 3 ++-
.../HyperSwitch/SwitchMerchant/SwitchMerchant.res | 4 ++--
.../HyperSwitch/ThreeDSFlow/HSwitchThreeDS.res | 1 +
.../HyperSwitch/Utils/HSSelfServeSidebar.res | 8 ++++++--
5 files changed, 16 insertions(+), 13 deletions(-)
diff --git a/src/screens/HyperSwitch/Routing/AdvancedRouting/RoutingPreviewer.res b/src/screens/HyperSwitch/Routing/AdvancedRouting/RoutingPreviewer.res
index f4f65963e..951b18891 100644
--- a/src/screens/HyperSwitch/Routing/AdvancedRouting/RoutingPreviewer.res
+++ b/src/screens/HyperSwitch/Routing/AdvancedRouting/RoutingPreviewer.res
@@ -4,7 +4,7 @@ open RoutingUtils
module SimplePreview = {
@react.component
let make = (~gateways) => {
- if gateways->Js.Array2.length > 0 {
+