Remove channelName prop

This commit is contained in:
Raphael Wickihalder 2022-05-30 07:15:07 +02:00
parent c16fb8c906
commit e4db2d401b
No known key found for this signature in database
GPG key ID: 05179BB92383243D

View file

@ -130,7 +130,6 @@ function VideoViewer(props: Props) {
const adApprovedChannelIds = homepageData ? getAllIds(homepageData) : [];
const claimId = claim && claim.claim_id;
const channelClaimId = claim && claim.signing_channel && claim.signing_channel.claim_id;
const channelName = claim && claim.signing_channel && claim.signing_channel.name;
const isAudio = contentType.includes('audio');
const forcePlayer = FORCE_CONTENT_TYPE_PLAYER.includes(contentType);
const {
@ -497,7 +496,6 @@ function VideoViewer(props: Props) {
autoplay={!embedded || autoplayIfEmbedded}
claimId={claimId}
title={claim && ((claim.value && claim.value.title) || claim.name)}
channelName={channelName}
channelTitle={channelTitle}
userId={userId}
allowPreRoll={!authenticated} // TODO: pull this into ads functionality so it's self contained