Skip to content

Commit

Permalink
fix: comments addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
PritishBudhiraja committed Jul 3, 2024
1 parent abbd838 commit 20fdc99
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Payments/ACHBankDebit.res
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ let make = (~paymentType: CardThemeType.mode) => {

<>
<RenderIf condition={isVerifyPMAuthConnectorConfigured}>
<VerifyBankDetails paymentMethodType="ach" />
<AddBankDetails paymentMethodType="ach" />
</RenderIf>
<RenderIf condition={!isVerifyPMAuthConnectorConfigured}>
<div className="flex flex-col animate-slowShow" style={gridGap: themeObj.spacingGridColumn}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ let make = (~paymentMethodType) => {
if confirm.doSubmit {
postFailedSubmitResponse(
~errortype="validation_error",
~message="Payment cannot be performed. Please go to saved PM Screen to update your payment method.",
~message="Please add Bank Details and then confirm payment with the added payment methods.",
)
}
}, [])
Expand Down Expand Up @@ -98,7 +98,7 @@ let make = (~paymentMethodType) => {
{if showLoader {
<Loader />
} else {
{React.string("Verify Bank Details")}
{React.string("Add Bank Details")}
}}
</button>
}
2 changes: 1 addition & 1 deletion src/Payments/SepaBankDebit.res
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ let make = (~paymentType: CardThemeType.mode) => {
useSubmitPaymentData(submitCallback)
<>
<RenderIf condition={isVerifyPMAuthConnectorConfigured}>
<VerifyBankDetails paymentMethodType="sepa" />
<AddBankDetails paymentMethodType="sepa" />
</RenderIf>
<RenderIf condition={!isVerifyPMAuthConnectorConfigured}>
<div
Expand Down

0 comments on commit 20fdc99

Please sign in to comment.