From 369452c3837570a51449a482c273392938c3bd58 Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja <1805317@kiit.ac.in> Date: Wed, 13 Mar 2024 13:34:43 +0530 Subject: [PATCH] fix: comments addressed --- src/Types/PaymentType.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Types/PaymentType.res b/src/Types/PaymentType.res index 0acca83f5..43fa329c4 100644 --- a/src/Types/PaymentType.res +++ b/src/Types/PaymentType.res @@ -897,7 +897,7 @@ let getConfirmParams = dict => { let getSdkHandleConfirmPaymentProps = dict => { handleConfirm: dict->getBool("handleConfirm", false), - buttonText: dict->getString("buttonText", ""), + buttonText: ?dict->getOptionString("buttonText"), confirmParams: dict->getDictfromDict("confirmParams")->getConfirmParams, }