1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-30 05:41:41 +02:00

fix search title

This commit is contained in:
Matthias Kretschmann 2020-10-24 17:05:43 +02:00
parent 7113db6419
commit 806d9cd4ca
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -6,10 +6,10 @@ import queryString from 'query-string'
export default function PageGatsbySearch(props: PageProps): ReactElement {
const parsed = queryString.parse(props.location.search)
const { text, tag } = parsed
const { text, tags } = parsed
return (
<Layout title={`Search for ${text || tag}`} uri={props.uri}>
<Layout title={`Search for '${text || tags}'`} uri={props.uri}>
<PageSearch location={props.location} />
</Layout>
)