From 7ed97a7a482acd7a86482c17cd07271ed7e3667a Mon Sep 17 00:00:00 2001 From: Vesa Luusua Date: Wed, 7 Nov 2018 12:30:27 +0200 Subject: [PATCH] EditListingPhotosPanel: use newListingPublished, not newListingCreated --- .../EditListingPhotosPanel/EditListingPhotosPanel.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/components/EditListingPhotosPanel/EditListingPhotosPanel.js b/src/components/EditListingPhotosPanel/EditListingPhotosPanel.js index 28b8dfa7..282f0946 100644 --- a/src/components/EditListingPhotosPanel/EditListingPhotosPanel.js +++ b/src/components/EditListingPhotosPanel/EditListingPhotosPanel.js @@ -1,5 +1,5 @@ import React, { Component } from 'react'; -import PropTypes from 'prop-types'; +import { array, bool, func, object, string } from 'prop-types'; import { FormattedMessage } from 'react-intl'; import classNames from 'classnames'; import { LISTING_STATE_DRAFT } from '../../util/types'; @@ -16,7 +16,7 @@ class EditListingPhotosPanel extends Component { rootClassName, errors, fetchInProgress, - newListingCreated, + newListingPublished, images, listing, onImageUpload, @@ -50,7 +50,7 @@ class EditListingPhotosPanel extends Component {