diff --git a/src/components/EditListingFeaturesPanel/EditListingFeaturesPanel.js b/src/components/EditListingFeaturesPanel/EditListingFeaturesPanel.js index 1e454a47..ed743977 100644 --- a/src/components/EditListingFeaturesPanel/EditListingFeaturesPanel.js +++ b/src/components/EditListingFeaturesPanel/EditListingFeaturesPanel.js @@ -10,6 +10,8 @@ import { ListingLink } from '../../components'; import css from './EditListingFeaturesPanel.css'; +const FEATURES_NAME = 'amenities'; + const EditListingFeaturesPanel = props => { const { rootClassName, @@ -44,14 +46,18 @@ const EditListingFeaturesPanel = props => { return map; }, {}); + const initialValues = { [FEATURES_NAME]: currentFeatures }; + return (