Skip to content

Commit c5dbd03

Browse files
committed
Fixing component-name-mapping
1 parent aeb4460 commit c5dbd03

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/lib/src/components/Card/Card.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ export class CardElement extends UIElement<CardConfiguration> {
285285
}
286286

287287
// For regular card, non-zero auth payments, we store the payment method based on the checkbox value.
288-
// const includeStorePaymentMethod = this.props.enableStoreDetails && typeof this.state.storePaymentMethod !== 'undefined';
289288
const includeStorePaymentMethod = this.props.showStoreDetailsCheckbox && typeof this.state.storePaymentMethod !== 'undefined';
290289
return includeStorePaymentMethod ? { storePaymentMethod: Boolean(this.state.storePaymentMethod) } : {};
291290
}

packages/lib/src/components/components-name-map.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const ComponentsNameMap = {
132132
[TxVariants.wechatpayQR]: 'WeChat',
133133
[TxVariants.promptpay]: 'PromptPay',
134134
[TxVariants.paynow]: 'PayNow',
135-
[TxVariants.duitnow]: 'Duitnow',
135+
[TxVariants.duitnow]: 'DuitNow',
136136
/** QRLoader */
137137

138138
/** Await */

0 commit comments

Comments
 (0)