Skip to content

Commit

Permalink
fix: card holder name showing twice (#349)
Browse files Browse the repository at this point in the history
Co-authored-by: ArushKapoorJuspay <[email protected]>
Co-authored-by: Akash Kamble <[email protected]>
  • Loading branch information
3 people authored May 3, 2024
1 parent 2d190d0 commit f72fb5a
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/Components/DynamicFields.res
Original file line number Diff line number Diff line change
Expand Up @@ -440,15 +440,17 @@ let make = (
/>
| FullName =>
<>
<div
style={ReactDOMStyle.make(
~marginBottom="5px",
~fontSize=themeObj.fontSizeLg,
~opacity="0.6",
(),
)}>
{item->getCustomFieldName->Option.getOr("")->React.string}
</div>
<RenderIf condition={!isSpacedInnerLayout}>
<div
style={ReactDOMStyle.make(
~marginBottom="5px",
~fontSize=themeObj.fontSizeLg,
~opacity="0.6",
(),
)}>
{item->getCustomFieldName->Option.getOr("")->React.string}
</div>
</RenderIf>
<FullNamePaymentInput
paymentType
customFieldName={item->getCustomFieldName}
Expand Down

0 comments on commit f72fb5a

Please sign in to comment.