diff --git a/ui/page/search/view.jsx b/ui/page/search/view.jsx index 9dbf3c854..51c532866 100644 --- a/ui/page/search/view.jsx +++ b/ui/page/search/view.jsx @@ -11,6 +11,7 @@ import SearchOptions from 'component/searchOptions'; import Button from 'component/button'; import ClaimUri from 'component/claimUri'; import Ads from 'web/component/ads'; +import ClaimEffectiveAmount from 'component/claimEffectiveAmount'; import { formatLbryUrlForWeb } from 'util/url'; import { useHistory } from 'react-router'; @@ -85,9 +86,11 @@ export default function SearchPage(props: Props) { .replace(INVALID_URI_CHARS, ''); const uriFromQuery = `lbry://${modifiedUrlQuery}`; + const stringifiedOptions = JSON.stringify(additionalOptions); useEffect(() => { if (urlQuery) { - search(urlQuery, additionalOptions); + const jsonOptions = JSON.parse(stringifiedOptions); + search(urlQuery, jsonOptions); } }, [search, urlQuery]); @@ -96,7 +99,7 @@ export default function SearchPage(props: Props) {
{urlQuery && ( - {!SIMPLE_SITE && isValid && ( + {isValid && (
@@ -111,7 +114,17 @@ export default function SearchPage(props: Props) { />
- + ( + + {__('Current winning amount')} + + + )} + />
)} @@ -119,7 +132,7 @@ export default function SearchPage(props: Props) { } + header={SIMPLE_SITE && } injectedItem={SHOW_ADS && !isAuthenticated && IS_WEB && } headerAltControls={