// @flow import { BITWAVE_EMBED_URL } from 'constants/livestream'; import React from 'react'; import FileTitleSection from 'component/fileTitleSection'; import LivestreamComments from 'component/livestreamComments'; type Props = { uri: string, claim: ?StreamClaim, isLive: boolean, activeViewers: number, }; export default function LivestreamLayout(props: Props) { const { claim, uri, isLive, activeViewers } = props; if (!claim || !claim.signing_channel) { return null; } const channelName = claim.signing_channel.name; const channelClaimId = claim.signing_channel.claim_id; return ( <>