1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

Fix display 0 value as description (#861)

* fixed return 0 value

* lint error fix
This commit is contained in:
Norbi 2021-09-16 20:45:27 +03:00 committed by GitHub
parent 56993904cf
commit 8cca002279
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,8 +42,9 @@ export default function PageGatsbySearch(props: PageProps): ReactElement {
}
description={
totalPagesNumber &&
totalPagesNumber > MAXIMUM_NUMBER_OF_PAGES_WITH_RESULTS &&
'**Results displayed are limited to the first 10k, please refine your search.**'
totalPagesNumber > MAXIMUM_NUMBER_OF_PAGES_WITH_RESULTS
? '**Results displayed are limited to the first 10k, please refine your search.**'
: undefined
}
uri={props.uri}
>