fix #7137

Merged
jessopb merged 1 commit from fix-topClaim into master 2021-09-20 23:06:55 +02:00

View file

@ -23,7 +23,6 @@ type Props = {
isResolvingWinningUri: boolean,
winningClaim: ?Claim,
isSearching: boolean,
preferEmbed: boolean,
};
export default function SearchTopClaim(props: Props) {
@ -37,7 +36,6 @@ export default function SearchTopClaim(props: Props) {
beginPublish,
isResolvingWinningUri,
isSearching,
preferEmbed,
} = props;
const uriFromQuery = `lbry://${query}`;
const { push } = useHistory();
@ -90,7 +88,6 @@ export default function SearchTopClaim(props: Props) {
)}
{winningUri && winningClaim && (
<div className="card">
{preferEmbed && (
<ClaimPreview
hideRepostLabel
showNullPlaceholder
@ -102,7 +99,6 @@ export default function SearchTopClaim(props: Props) {
</span>
)}
/>
)}
</div>
)}
{!winningUri && (isSearching || isResolvingWinningUri) && (