diff --git a/assets/images/payment-method-icons/generic-card.svg b/assets/images/payment-methods/generic-card.svg similarity index 100% rename from assets/images/payment-method-icons/generic-card.svg rename to assets/images/payment-methods/generic-card.svg diff --git a/client/checkout/blocks/payment-method-label.js b/client/checkout/blocks/payment-method-label.js index 2239f014e29..ddb1506e5a9 100644 --- a/client/checkout/blocks/payment-method-label.js +++ b/client/checkout/blocks/payment-method-label.js @@ -9,7 +9,6 @@ import { normalizeCurrencyToMinorUnit } from '../utils'; import { getUPEConfig } from 'wcpay/utils/checkout'; import { __ } from '@wordpress/i18n'; import './style.scss'; -import GenericCardIcon from 'assets/images/payment-method-icons/generic-card.svg?asset'; export default ( { api, @@ -37,12 +36,6 @@ export default ( { window.wcBlocksCheckoutData?.storeCountry || 'US'; - let icon = - upeAppearanceTheme === 'night' ? upeConfig.darkIcon : upeConfig.icon; - if ( upeName === 'card' ) { - icon = GenericCardIcon; - } - return ( <>