fix (#7137)
This commit is contained in:
parent
eca9b2fcbf
commit
7303abcda6
1 changed files with 11 additions and 15 deletions
|
@ -23,7 +23,6 @@ type Props = {
|
||||||
isResolvingWinningUri: boolean,
|
isResolvingWinningUri: boolean,
|
||||||
winningClaim: ?Claim,
|
winningClaim: ?Claim,
|
||||||
isSearching: boolean,
|
isSearching: boolean,
|
||||||
preferEmbed: boolean,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function SearchTopClaim(props: Props) {
|
export default function SearchTopClaim(props: Props) {
|
||||||
|
@ -37,7 +36,6 @@ export default function SearchTopClaim(props: Props) {
|
||||||
beginPublish,
|
beginPublish,
|
||||||
isResolvingWinningUri,
|
isResolvingWinningUri,
|
||||||
isSearching,
|
isSearching,
|
||||||
preferEmbed,
|
|
||||||
} = props;
|
} = props;
|
||||||
const uriFromQuery = `lbry://${query}`;
|
const uriFromQuery = `lbry://${query}`;
|
||||||
const { push } = useHistory();
|
const { push } = useHistory();
|
||||||
|
@ -90,7 +88,6 @@ export default function SearchTopClaim(props: Props) {
|
||||||
)}
|
)}
|
||||||
{winningUri && winningClaim && (
|
{winningUri && winningClaim && (
|
||||||
<div className="card">
|
<div className="card">
|
||||||
{preferEmbed && (
|
|
||||||
<ClaimPreview
|
<ClaimPreview
|
||||||
hideRepostLabel
|
hideRepostLabel
|
||||||
showNullPlaceholder
|
showNullPlaceholder
|
||||||
|
@ -102,7 +99,6 @@ export default function SearchTopClaim(props: Props) {
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{!winningUri && (isSearching || isResolvingWinningUri) && (
|
{!winningUri && (isSearching || isResolvingWinningUri) && (
|
||||||
|
|
Loading…
Add table
Reference in a new issue