Merge pull request #1124 from sharetribe/fix-heroButton-search-param-bug

fix heroButton search param bug
This commit is contained in:
Vesa Luusua 2019-07-05 15:31:28 +03:00 committed by GitHub
commit 625d87cf6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -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.

View file

@ -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}
>

View file

@ -17,7 +17,7 @@ exports[`SectionHero matches snapshot 1`] = `
</h2>
<a
className=""
href="/s?s?address=Finland&bounds=70.0922932%2C31.5870999%2C59.693623%2C20.456500199999937"
href="/s?address=Finland&bounds=70.0922932%2C31.5870999%2C59.693623%2C20.456500199999937"
onClick={[Function]}
style={Object {}}
title={null}