Revert optimized URLs on channel banner.

## Issue
5564: Don't use optimized URLs on channel pages (profile/banner)
This commit is contained in:
infinite-persistence 2021-02-23 11:38:57 +08:00 committed by Sean Yesmunt
parent f0912f9051
commit 3d6304bc25

View file

@ -2,7 +2,6 @@
import * as ICONS from 'constants/icons'; import * as ICONS from 'constants/icons';
import * as PAGES from 'constants/pages'; import * as PAGES from 'constants/pages';
import React from 'react'; import React from 'react';
import { getThumbnailCdnUrl } from 'util/thumbnail';
import { parseURI } from 'lbry-redux'; import { parseURI } from 'lbry-redux';
import { YOUTUBE_STATUSES } from 'lbryinc'; import { YOUTUBE_STATUSES } from 'lbryinc';
import Page from 'component/page'; import Page from 'component/page';
@ -163,7 +162,7 @@ function ChannelPage(props: Props) {
{cover && ( {cover && (
<img <img
className={classnames('channel-cover__custom', { 'channel__image--blurred': channelIsBlocked })} className={classnames('channel-cover__custom', { 'channel__image--blurred': channelIsBlocked })}
src={IS_WEB ? getThumbnailCdnUrl({ thumbnail: cover, height: 200, width: 1000, quality: 100 }) : cover} src={cover}
/> />
)} )}
<div className="channel__primary-info"> <div className="channel__primary-info">