From dbf656268a2c156f4175c4679f596802f25b3aae Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja <1805317@kiit.ac.in> Date: Mon, 11 Mar 2024 21:23:24 +0530 Subject: [PATCH] fix: comments addressed --- src/Components/PayNowButton.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/PayNowButton.res b/src/Components/PayNowButton.res index 9b2dca7fc..5f70a3c34 100644 --- a/src/Components/PayNowButton.res +++ b/src/Components/PayNowButton.res @@ -38,7 +38,7 @@ let make = ( areRequiredFieldsValidValue let buttonText = - sdkHandleConfirmPayment.buttonText->String.length > 0 + sdkHandleConfirmPayment.buttonText !== "" ? sdkHandleConfirmPayment.buttonText : localeString.payNowButton