mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +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
|
## 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
|
- [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)
|
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.
|
- [add] Add events.mapbox.com to `connect-src` in `csp.js` file.
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ const SectionHero = props => {
|
||||||
name="SearchPage"
|
name="SearchPage"
|
||||||
to={{
|
to={{
|
||||||
search:
|
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}
|
className={css.heroButton}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ exports[`SectionHero matches snapshot 1`] = `
|
||||||
</h2>
|
</h2>
|
||||||
<a
|
<a
|
||||||
className=""
|
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]}
|
onClick={[Function]}
|
||||||
style={Object {}}
|
style={Object {}}
|
||||||
title={null}
|
title={null}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue