feat(mobile): remove noPreview param

This commit is contained in:
DIYgod
2025-03-11 18:00:25 +08:00
parent dbc47659b1
commit ea32df6b9b
2 changed files with 2 additions and 10 deletions
@@ -56,13 +56,11 @@ const MediaItems = ({
media,
entryId,
onPreview,
noPreview,
aspectRatio,
}: {
media: MediaModel[]
entryId: string
onPreview?: () => void
noPreview?: boolean
aspectRatio?: number
}) => {
const firstMedia = media[0]
@@ -85,7 +83,6 @@ const MediaItems = ({
media={uniqMedia}
onPreview={onPreview}
aspectRatio={realAspectRatio}
noPreview={noPreview}
/>
)
}