diff --git a/docs/env.md b/docs/env.md index e55d0e0a7f..34fdd12720 100644 --- a/docs/env.md +++ b/docs/env.md @@ -3,7 +3,7 @@ The following configuration variables can be set to control the Flex template app behaviour. Most of them have defaults that work for development environment. For production deploys most should be set. -| Variable | Description | +| Variable | Description | | ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | | REACT_APP_MAPBOX_ACCESS_TOKEN | See: [Integrating to map providers](./map-providers.md) | | REACT_APP_GOOGLE_MAPS_API_KEY | See: [Google Maps API key](./google-maps.md) (Alternative map provider) | @@ -24,7 +24,7 @@ them have defaults that work for development environment. For production deploys | REACT_APP_GOOGLE_ANALYTICS_ID | See: [Google Analytics](./analytics.md) | | REACT_APP_AVAILABILITY_ENABLED | Enables availability calendar for listings. | | REACT_APP_DEFAULT_SEARCHES_ENABLED | Enables default search suggestions in location autocomplete search input. | -| REACT_APP_SHARETRIBE_SDK_BASE_URL | The base url to access the Sharetribe Flex Marketplace API. FTW uses the correct one by default so no need to set this. | +| REACT_APP_SHARETRIBE_SDK_BASE_URL | The base url to access the Sharetribe Flex Marketplace API. FTW uses the correct one by default so no need to set this. | ## Defining configuration diff --git a/docs/google-maps.md b/docs/google-maps.md index 79759acf00..340dac642f 100644 --- a/docs/google-maps.md +++ b/docs/google-maps.md @@ -67,16 +67,16 @@ comments. _public/index.html:_ ```html - - - - - + + + + + ``` ### 2. Searching with Google's geocoding API diff --git a/docs/icons.md b/docs/icons.md index d240496619..999475aee4 100644 --- a/docs/icons.md +++ b/docs/icons.md @@ -28,15 +28,15 @@ set if icons and an HTML snippet to point to those images. **Example HTML snippet:** ```html - - - - - - - - - + + + + + + + + + ``` ## Map marker icon diff --git a/package.json b/package.json index 48d9cce40a..47ca367940 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "nodemon": "^1.17.2", "nsp": "^3.2.1", "nsp-preprocessor-yarn": "^1.0.1", - "prettier": "^1.11.1" + "prettier": "^1.15.3" }, "scripts": { "clean": "rm -rf build/*", diff --git a/src/Routes.js b/src/Routes.js index af6a18a13e..f8e2ea0532 100644 --- a/src/Routes.js +++ b/src/Routes.js @@ -187,4 +187,7 @@ const mapStateToProps = state => { // lifecycle hook. // // See: https://github.com/ReactTraining/react-router/issues/4671 -export default compose(withRouter, connect(mapStateToProps))(Routes); +export default compose( + withRouter, + connect(mapStateToProps) +)(Routes); diff --git a/src/components/BookingBreakdown/LineItemUnitPrice.js b/src/components/BookingBreakdown/LineItemUnitPrice.js index dc908f127b..980fd43ab6 100644 --- a/src/components/BookingBreakdown/LineItemUnitPrice.js +++ b/src/components/BookingBreakdown/LineItemUnitPrice.js @@ -12,8 +12,8 @@ const LineItemUnitPrice = props => { const translationKey = isNightly ? 'BookingBreakdown.pricePerNight' : isDaily - ? 'BookingBreakdown.pricePerDay' - : 'BookingBreakdown.pricePerQuantity'; + ? 'BookingBreakdown.pricePerDay' + : 'BookingBreakdown.pricePerQuantity'; const unitPurchase = transaction.attributes.lineItems.find( item => item.code === unitType && !item.reversal diff --git a/src/components/Discussion/Discussion.js b/src/components/Discussion/Discussion.js index a50aa6d1ce..e7664d63e8 100644 --- a/src/components/Discussion/Discussion.js +++ b/src/components/Discussion/Discussion.js @@ -43,7 +43,11 @@ class Discussion extends Component { render() { return (