mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 14:57:26 +08:00
🐛 Fix inconsistent property names
This commit is contained in:
parent
e5f882cc57
commit
510a711caa
2 changed files with 8 additions and 9 deletions
|
@ -92,9 +92,8 @@ export const useStylingProps = ( location ) => {
|
|||
|
||||
// Payment methods (checkboxes).
|
||||
paymentMethodChoices: Object.values( STYLING_PAYMENT_METHODS ),
|
||||
paymentMethods: getLocationProp( 'paymentMethods' ),
|
||||
setPaymentMethods: ( methods ) =>
|
||||
setLocationProp( 'paymentMethods', methods ),
|
||||
paymentMethods: getLocationProp( 'methods' ),
|
||||
setPaymentMethods: ( methods ) => setLocationProp( 'methods', methods ),
|
||||
|
||||
// Color (dropdown).
|
||||
colorChoices: Object.values( STYLING_COLORS ),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue