diff --git a/CHANGELOG.md b/CHANGELOG.md index 223960a9..38dc8fa9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,8 @@ way to update this template, but currently, we follow a pattern: ## Upcoming version 2019-XX-XX +- [fix] SectionHero: fix type in search params. There was an extra "/s?". + [#1124](https://github.com/sharetribe/flex-template-web/pull/1124) - [add] Add support for Singapore as the payout country of a provider. Also fix a bug in passing the personal ID number to Stripe. [#1122](https://github.com/sharetribe/flex-template-web/pull/1122) - [add] Add events.mapbox.com to `connect-src` in `csp.js` file. diff --git a/src/components/SectionHero/SectionHero.js b/src/components/SectionHero/SectionHero.js index 2a019b3d..e3cd6482 100644 --- a/src/components/SectionHero/SectionHero.js +++ b/src/components/SectionHero/SectionHero.js @@ -24,7 +24,7 @@ const SectionHero = props => { name="SearchPage" to={{ search: - 's?address=Finland&bounds=70.0922932%2C31.5870999%2C59.693623%2C20.456500199999937', + 'address=Finland&bounds=70.0922932%2C31.5870999%2C59.693623%2C20.456500199999937', }} className={css.heroButton} > diff --git a/src/components/SectionHero/__snapshots__/SectionHero.test.js.snap b/src/components/SectionHero/__snapshots__/SectionHero.test.js.snap index d73a3a2e..42466870 100644 --- a/src/components/SectionHero/__snapshots__/SectionHero.test.js.snap +++ b/src/components/SectionHero/__snapshots__/SectionHero.test.js.snap @@ -17,7 +17,7 @@ exports[`SectionHero matches snapshot 1`] = `