mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-25 22:37:18 +10:00
Merge pull request #1124 from sharetribe/fix-heroButton-search-param-bug
fix heroButton search param bug
This commit is contained in:
commit
625d87cf6b
3 changed files with 4 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue