Merged in fix/saved-card-length (pull request #1711)
fix: remove rendering of savedCard.length if 0 * fix: remove rendering of savedCard.length if 0 Approved-by: Simon.Emanuelsson
This commit is contained in:
@@ -106,11 +106,11 @@ export default function ConfirmBooking({
|
|||||||
) : null}
|
) : null}
|
||||||
{guarantee && (
|
{guarantee && (
|
||||||
<>
|
<>
|
||||||
{savedCreditCards?.length && (
|
{savedCreditCards?.length ? (
|
||||||
<Typography variant="Title/Overline/sm">
|
<Typography variant="Title/Overline/sm">
|
||||||
<h4>{intl.formatMessage({ id: "OTHER" })}</h4>
|
<h4>{intl.formatMessage({ id: "OTHER" })}</h4>
|
||||||
</Typography>
|
</Typography>
|
||||||
)}
|
) : null}
|
||||||
<PaymentOption
|
<PaymentOption
|
||||||
name="paymentMethod"
|
name="paymentMethod"
|
||||||
value={PaymentMethodEnum.card}
|
value={PaymentMethodEnum.card}
|
||||||
|
|||||||
Reference in New Issue
Block a user