🐛 Fix inconsistent property names

This commit is contained in:
Philipp Stracker 2025-01-16 20:04:47 +01:00
parent e5f882cc57
commit 510a711caa
No known key found for this signature in database
2 changed files with 8 additions and 9 deletions

View file

@ -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 ),