mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 12:43:11 +10:00
review branches didn't run prettier
This commit is contained in:
parent
983657520b
commit
6b3c898bba
4 changed files with 5 additions and 5 deletions
|
|
@ -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}>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}>
|
||||
|
|
|
|||
|
|
@ -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}>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue