Skip to content

Commit

Permalink
refactor: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
longyulongyu committed Jul 18, 2024
1 parent 75cbd3f commit 0d112ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lib/src/components/Dropin/elements/filters.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import promiseTimeout from '../../../utils/promiseTimeout';
import { PaymentMethod, type StoredPaymentMethod, UIElement } from '../../../types';
import type { PaymentMethod, StoredPaymentMethod, UIElement } from '../../../types';

export const UNSUPPORTED_PAYMENT_METHODS = ['androidpay', 'samsungpay', 'clicktopay'];

Expand Down
1 change: 1 addition & 0 deletions packages/lib/src/components/components-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export const ComponentsMap = {
[TxVariants.upi]: UPI, // also QR
[TxVariants.upi_qr]: UPI, // also QR
[TxVariants.upi_collect]: UPI, // also QR
[TxVariants.upi_intent]: UPI,
/** Await */

/** Giftcard */
Expand Down
1 change: 1 addition & 0 deletions packages/lib/src/components/components-name-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ const ComponentsNameMap = {
[TxVariants.upi]: 'UPI', // also QR
[TxVariants.upi_qr]: 'UPI', // also QR
[TxVariants.upi_collect]: 'UPI', // also QR
[TxVariants.upi_intent]: 'UPI',
/** Await */

/** Giftcard */
Expand Down

0 comments on commit 0d112ef

Please sign in to comment.