diff --git a/packages/atlas/src/components/_video/VideoTile/VideoTile.tsx b/packages/atlas/src/components/_video/VideoTile/VideoTile.tsx index 6619209234..841d021d72 100644 --- a/packages/atlas/src/components/_video/VideoTile/VideoTile.tsx +++ b/packages/atlas/src/components/_video/VideoTile/VideoTile.tsx @@ -52,6 +52,7 @@ export const VideoTile: FC = memo( type = 'video', playlistUrl, isPublisher, + hasCreatorToken, }) => { const [tileSize, setTileSize] = useState<'small' | 'medium'>() const { ref: thumbnailRef } = useResizeObserver({ @@ -112,6 +113,7 @@ export const VideoTile: FC = memo( views={views} createdAt={createdAt} channelTitle={channelTitle} + hasCreatorToken={hasCreatorToken} loading={loadingDetails} loadingAvatar={loadingAvatar} kebabMenuItems={kebabMenuItems} diff --git a/packages/atlas/src/components/_video/VideoTileDetails/VideoTileDetails.tsx b/packages/atlas/src/components/_video/VideoTileDetails/VideoTileDetails.tsx index 5cba8ca8d6..fc0daa5f5c 100644 --- a/packages/atlas/src/components/_video/VideoTileDetails/VideoTileDetails.tsx +++ b/packages/atlas/src/components/_video/VideoTileDetails/VideoTileDetails.tsx @@ -35,6 +35,7 @@ export type VideoTileDetailsProps = { views?: number | null createdAt?: Date | null channelTitle?: string | null + hasCreatorToken?: boolean channelAvatarUrls?: string[] | null channelHref?: string onChannelAvatarClick?: () => void @@ -70,6 +71,7 @@ export const VideoTileDetails: FC = ({ type = 'playlist', playlistUrl, isPublisher, + hasCreatorToken, }) => { return ( @@ -109,7 +111,7 @@ export const VideoTileDetails: FC = ({ ) : ( - + {channelTitle} diff --git a/packages/atlas/src/components/_video/VideoTileViewer/VideoTileViewer.tsx b/packages/atlas/src/components/_video/VideoTileViewer/VideoTileViewer.tsx index 771878da6f..3e08fc0953 100644 --- a/packages/atlas/src/components/_video/VideoTileViewer/VideoTileViewer.tsx +++ b/packages/atlas/src/components/_video/VideoTileViewer/VideoTileViewer.tsx @@ -96,6 +96,7 @@ export const VideoTileViewer: FC = ({ videoTitle={video?.title} kebabMenuItems={contextMenuItems} direction={direction} + hasCreatorToken={!!video?.channel.creatorToken?.token.id} description={showDescription ? video?.description ?? undefined : undefined} /> )