Render: must return null instead of undefined
This commit is contained in:
parent
198c191fd2
commit
379b9341ef
1 changed files with 1 additions and 1 deletions
|
@ -27,5 +27,5 @@ export default function LivestreamLink(props: Props) {
|
||||||
</Card>
|
</Card>
|
||||||
);
|
);
|
||||||
|
|
||||||
return claimUri && <ClaimPreview uri={claimUri} wrapperElement={element} type="inline" />;
|
return claimUri ? <ClaimPreview uri={claimUri} wrapperElement={element} type="inline" /> : null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue