feat: make preview non-clickable
This commit is contained in:
@@ -23,13 +23,11 @@ const Content = memo(
|
||||
({
|
||||
event,
|
||||
className,
|
||||
size = 'normal',
|
||||
disableLightbox = false
|
||||
size = 'normal'
|
||||
}: {
|
||||
event: Event
|
||||
className?: string
|
||||
size?: 'normal' | 'small'
|
||||
disableLightbox?: boolean
|
||||
}) => {
|
||||
const { content, images, videos, embeddedNotes, lastNonMediaUrl } = preprocess(event)
|
||||
const isNsfw = isNsfwEvent(event)
|
||||
@@ -50,7 +48,6 @@ const Content = memo(
|
||||
images={images}
|
||||
isNsfw={isNsfw}
|
||||
size={size}
|
||||
disableLightbox={disableLightbox}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user