mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fix search title
This commit is contained in:
parent
7113db6419
commit
806d9cd4ca
@ -6,10 +6,10 @@ import queryString from 'query-string'
|
|||||||
|
|
||||||
export default function PageGatsbySearch(props: PageProps): ReactElement {
|
export default function PageGatsbySearch(props: PageProps): ReactElement {
|
||||||
const parsed = queryString.parse(props.location.search)
|
const parsed = queryString.parse(props.location.search)
|
||||||
const { text, tag } = parsed
|
const { text, tags } = parsed
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout title={`Search for ${text || tag}`} uri={props.uri}>
|
<Layout title={`Search for '${text || tags}'`} uri={props.uri}>
|
||||||
<PageSearch location={props.location} />
|
<PageSearch location={props.location} />
|
||||||
</Layout>
|
</Layout>
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user