fix: remove custom img component in LongFormArticle
This commit is contained in:
parent
3950cbd9e6
commit
da78aa63ef
1 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue