diff --git a/ui/component/livestreamLink/view.jsx b/ui/component/livestreamLink/view.jsx index a30921306..953411e5e 100644 --- a/ui/component/livestreamLink/view.jsx +++ b/ui/component/livestreamLink/view.jsx @@ -15,7 +15,11 @@ export default function LivestreamLink(props: Props) { const { claimUri, title = null } = props; const { push } = useHistory(); - const element = (props: { children: any }) => ( + if (!claimUri) { + return null; + } + + return ( - {props.children} + ); - - return claimUri ? : null; }