fix: remove custom img component in LongFormArticle
This commit is contained in:
@@ -46,9 +46,6 @@ export default function LongFormArticle({
|
|||||||
components={
|
components={
|
||||||
{
|
{
|
||||||
nostr: (props) => <NostrNode {...props} />,
|
nostr: (props) => <NostrNode {...props} />,
|
||||||
img: ({ src, ...props }) => (
|
|
||||||
<ImageWithLightbox image={{ url: src ?? '', pubkey: event.pubkey }} {...props} />
|
|
||||||
),
|
|
||||||
a: (props) => <a {...props} target="_blank" rel="noreferrer noopener" />
|
a: (props) => <a {...props} target="_blank" rel="noreferrer noopener" />
|
||||||
} as Components
|
} as Components
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user