OptimizedImage: clean up attribute removal

Cleanup for 1e0da661
This commit is contained in:
infinite-persistence 2022-03-25 10:40:12 +08:00
parent 57192305f0
commit 093594de3f
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -235,7 +235,7 @@ function ChannelPage(props: Props) {
<ClaimMenuList uri={claim.permanent_url} inline isChannelPage /> <ClaimMenuList uri={claim.permanent_url} inline isChannelPage />
</div> </div>
{cover && <img className={classnames('channel-cover__custom')} src={PlaceholderTx} />} {cover && <img className={classnames('channel-cover__custom')} src={PlaceholderTx} />}
{cover && <OptimizedImage className={classnames('channel-cover__custom')} src={cover} objectFit="cover" />} {cover && <OptimizedImage className={classnames('channel-cover__custom')} src={cover} />}
<div className="channel__primary-info"> <div className="channel__primary-info">
<ChannelThumbnail <ChannelThumbnail
className="channel__thumbnail--channel-page" className="channel__thumbnail--channel-page"