From 12846178ed8db4d6a06c064f74de3fd249b0295c Mon Sep 17 00:00:00 2001 From: Riddhi Agrawal Date: Mon, 11 Dec 2023 15:16:43 +0530 Subject: [PATCH] fix: warning-added --- .../BusinessMapping/BusinessProfile.res | 23 ++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/src/screens/HyperSwitch/Settings/BusinessMapping/BusinessProfile.res b/src/screens/HyperSwitch/Settings/BusinessMapping/BusinessProfile.res index 1adacb366..ad54c171b 100644 --- a/src/screens/HyperSwitch/Settings/BusinessMapping/BusinessProfile.res +++ b/src/screens/HyperSwitch/Settings/BusinessMapping/BusinessProfile.res @@ -1,3 +1,12 @@ +module WarningArea = { + @react.component + let make = (~warningText) => { +

+ {"NOTE:"->React.string} + {warningText->React.string} +

+ } +} module AddEntryBtn = { @react.component let make = ( @@ -51,7 +60,10 @@ module AddEntryBtn = { | Successful =>
-

+ +

{"Business Profile successfully created! Set up your payments settings like webhooks, return url for your new profile before trying a payment."->React.string}

}} @@ -155,11 +167,16 @@ let make = (
-
+
+ Js.Array2.length > 1}> + +