Merge pull request #348 from sharetribe/wizard-prettier-fix

review branches didn't run prettier
This commit is contained in:
Vesa Luusua 2017-08-17 13:31:42 +03:00 committed by GitHub
commit 98895a97be
4 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@ const EditListingDescriptionPanel = props => {
const listingTitle = title || '';
const panelTitle = currentListing.id
? <FormattedMessage id="EditListingDescriptionPanel.title" values={{ listingTitle }} />
: <FormattedMessage id="EditListingDescriptionPanel.createListingTitle" />
: <FormattedMessage id="EditListingDescriptionPanel.createListingTitle" />;
return (
<div className={classes}>

View file

@ -25,7 +25,7 @@ const EditListingLocationPanel = props => {
const listingTitle = title || '';
const panelTitle = currentListing.id
? <FormattedMessage id="EditListingLocationPanel.title" values={{ listingTitle }} />
: <FormattedMessage id="EditListingLocationPanel.createListingTitle" />
: <FormattedMessage id="EditListingLocationPanel.createListingTitle" />;
// Only render current search if full place object is available in the URL params
// TODO bounds and country are missing - those need to be queried directly from Google Places

View file

@ -98,7 +98,7 @@ class EditListingPhotosPanel extends Component {
const listingTitle = title || '';
const panelTitle = currentListing.id
? <FormattedMessage id="EditListingPhotosPanel.title" values={{ listingTitle }} />
: <FormattedMessage id="EditListingPhotosPanel.createListingTitle" />
: <FormattedMessage id="EditListingPhotosPanel.createListingTitle" />;
return (
<div className={classes}>

View file

@ -21,11 +21,11 @@ const EditListingPricingPanel = props => {
const classes = classNames(rootClassName || css.root, className);
const currentListing = ensureListing(listing);
const { price, title } = currentListing.attributes ;
const { price, title } = currentListing.attributes;
const listingTitle = title || '';
const panelTitle = currentListing.id
? <FormattedMessage id="EditListingPricingPanel.title" values={{ listingTitle }} />
: <FormattedMessage id="EditListingPricingPanel.createListingTitle" />
: <FormattedMessage id="EditListingPricingPanel.createListingTitle" />;
return (
<div className={classes}>