diff --git a/server/index.js b/server/index.js
index 087ec529..78b62dc2 100644
--- a/server/index.js
+++ b/server/index.js
@@ -129,7 +129,7 @@ app.get('*', (req, res) => {
});
app.listen(PORT, () => {
- const mode = dev ? "development" : "production";
+ const mode = dev ? 'development' : 'production';
console.log(`Listening to port ${PORT} in ${mode} mode`);
if (dev) {
console.log(`Open http://localhost:${PORT}/ and start hacking!`);
diff --git a/src/components/EditListingPricingPanel/EditListingPricingPanel.js b/src/components/EditListingPricingPanel/EditListingPricingPanel.js
index 70e9586f..d7379ca0 100644
--- a/src/components/EditListingPricingPanel/EditListingPricingPanel.js
+++ b/src/components/EditListingPricingPanel/EditListingPricingPanel.js
@@ -15,11 +15,7 @@ const EditListingPricingPanel = props => {
return (
-
+
);
};
diff --git a/src/components/ListingCard/ListingCard.js b/src/components/ListingCard/ListingCard.js
index c6a64aca..872cbf5a 100644
--- a/src/components/ListingCard/ListingCard.js
+++ b/src/components/ListingCard/ListingCard.js
@@ -37,7 +37,9 @@ export const ListingCardComponent = props => {
: [];
const mainImage = images.length > 0 ? images[0] : null;
const imageURL = mainImage ? mainImage.sizes.find(i => i.name === 'landscape-crop').url : null;
- const image2XURL = mainImage ? mainImage.sizes.find(i => i.name === 'landscape-crop2x').url : null;
+ const image2XURL = mainImage
+ ? mainImage.sizes.find(i => i.name === 'landscape-crop2x').url
+ : null;
const higherRes = image2XURL ? { srcSet: `${image2XURL} 2x` } : null;
// TODO: svg should have own loading strategy
diff --git a/src/components/ListingCardSmall/ListingCardSmall.js b/src/components/ListingCardSmall/ListingCardSmall.js
index c8b52f56..d04c9752 100644
--- a/src/components/ListingCardSmall/ListingCardSmall.js
+++ b/src/components/ListingCardSmall/ListingCardSmall.js
@@ -36,7 +36,9 @@ export const ListingCardSmallComponent = props => {
: [];
const mainImage = images.length > 0 ? images[0] : null;
const imageURL = mainImage ? mainImage.sizes.find(i => i.name === 'landscape-crop').url : null;
- const image2XURL = mainImage ? mainImage.sizes.find(i => i.name === 'landscape-crop2x').url : null;
+ const image2XURL = mainImage
+ ? mainImage.sizes.find(i => i.name === 'landscape-crop2x').url
+ : null;
const higherRes = image2XURL ? { srcSet: `${image2XURL} 2x` } : null;
// TODO: svg should have own loading strategy
diff --git a/src/containers/EditListingLocationForm/EditListingLocationForm.js b/src/containers/EditListingLocationForm/EditListingLocationForm.js
index 9bb10d0c..85d3b6b8 100644
--- a/src/containers/EditListingLocationForm/EditListingLocationForm.js
+++ b/src/containers/EditListingLocationForm/EditListingLocationForm.js
@@ -49,7 +49,7 @@ export class EditListingLocationFormComponent extends Component {
const classes = classNames(css.root, className);
return (
-