1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

hotfix for search title

This commit is contained in:
Matthias Kretschmann 2019-04-08 13:37:57 +02:00
parent 26b663a09c
commit f032a36e47
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -88,9 +88,9 @@ export default class Search extends PureComponent<SearchProps, SearchState> {
return (
<Route
title={`${totalResults > 0 && totalResults} Results for <span>${
this.searchTerm
}</span>`}
title={`${
totalResults > 0 ? totalResults : ''
} Results for <span>${this.searchTerm}</span>`}
titleReverse
wide
>