Skip to content

Commit

Permalink
chore: disable LargePreviewImage since low resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
magicdawn committed Dec 30, 2024
1 parent 6f1b66c commit 89c4b37
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/VideoCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ import { videoCardBorderRadiusValue } from '../css-vars'
import { useInNormalCardCss } from './card-border-css'
import type { VideoData } from './card.service'
import { fetchVideoData, isVideoshotDataValid } from './card.service'
import { LargePreviewImage } from './child-components/LargePreviewImage'
import { PreviewImage, SimplePregressBar } from './child-components/PreviewImage'
import { SimplePregressBar } from './child-components/PreviewImage'
import { VideoCardActionStyle } from './child-components/VideoCardActions'
import { VideoCardBottom } from './child-components/VideoCardBottom'
import { BlacklistCard, DislikedCard, SkeletonCard } from './child-components/other-type-cards'
Expand Down Expand Up @@ -540,11 +539,11 @@ const VideoCardInner = memo(function VideoCardInner({
const extraContent = (
<>
{/* a large preview */}
{shouldShowPreview && previewImgProps && (
{/* {shouldShowPreview && previewImgProps && (
<LargePreviewImage>
<PreviewImage {...previewImgProps} />
</LargePreviewImage>
)}
)} */}
</>
)

Expand Down

0 comments on commit 89c4b37

Please sign in to comment.