mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Incorrect title message on search assets page (#882)
* fixed search title * change searchValue check
This commit is contained in:
parent
6378b90a77
commit
e15169219f
@ -37,7 +37,9 @@ export default function PageGatsbySearch(props: PageProps): ReactElement {
|
||||
<Page
|
||||
title={
|
||||
totalPagesNumber > MAXIMUM_NUMBER_OF_PAGES_WITH_RESULTS
|
||||
? `>10000 results for ${searchValue}`
|
||||
? `>10000 results ${
|
||||
searchValue && searchValue !== ' ' ? `for ${searchValue}` : ''
|
||||
}`
|
||||
: title
|
||||
}
|
||||
description={
|
||||
|
Loading…
Reference in New Issue
Block a user