hide exact search result for SIMPLE_SITE

This commit is contained in:
Sean Yesmunt 2020-07-24 15:58:37 -04:00
parent e10647b5a2
commit e001906443

View file

@ -1,4 +1,5 @@
// @flow
import { SIMPLE_SITE } from 'config';
import * as ICONS from 'constants/icons';
import * as PAGES from 'constants/pages';
import React, { useEffect, Fragment } from 'react';
@ -75,6 +76,7 @@ export default function SearchPage(props: Props) {
<section className="search">
{urlQuery && (
<Fragment>
{!SIMPLE_SITE && (
<header className="search__header">
<div className="claim-preview__actions--header">
<ClaimUri uri={uriFromQuery} noShortUrl />
@ -92,6 +94,7 @@ export default function SearchPage(props: Props) {
<ClaimPreview uri={uriFromQuery} type="large" placeholder="publish" />
</div>
</header>
)}
<ClaimList
uris={uris}