Checkout: Fix city input field showing country value (II) (https://github.com/woocommerce/woocommerce-blocks/pull/1580)

This commit is contained in:
Albert Juhé Lluveras 2020-01-16 12:31:00 +01:00 committed by GitHub
parent dfc963b545
commit 3f0368e63b
1 changed files with 2 additions and 2 deletions

View File

@ -197,11 +197,11 @@ const Block = ( { shippingMethods = [], isEditor = false } ) => {
'City',
'woo-gutenberg-products-block'
) }
value={ shippingFields.country }
value={ shippingFields.city }
onChange={ ( newValue ) =>
setShippingFields( {
...shippingFields,
country: newValue,
city: newValue,
} )
}
/>