diff --git a/src/components/nostr/RichText/Gallery.tsx b/src/components/nostr/RichText/Gallery.tsx index 129871c..efbe6e6 100644 --- a/src/components/nostr/RichText/Gallery.tsx +++ b/src/components/nostr/RichText/Gallery.tsx @@ -9,7 +9,7 @@ import { MediaEmbed } from "../MediaEmbed"; import { useRichTextOptions } from "../RichText"; function MediaPlaceholder({ type }: { type: "image" | "video" | "audio" }) { - return [{type}]; + return [{type}]; } interface GalleryNodeProps { diff --git a/src/components/nostr/RichText/Mention.tsx b/src/components/nostr/RichText/Mention.tsx index ea3f29c..330914d 100644 --- a/src/components/nostr/RichText/Mention.tsx +++ b/src/components/nostr/RichText/Mention.tsx @@ -7,7 +7,7 @@ import { getKindName } from "@/constants/kinds"; function EventPlaceholder({ kind }: { kind?: number }) { const name = kind !== undefined ? getKindName(kind) : "event"; - return [{name}]; + return [{name}]; } interface MentionNodeProps { diff --git a/src/components/nostr/kinds/HighlightRenderer.tsx b/src/components/nostr/kinds/HighlightRenderer.tsx index 2adaf6e..3b4a412 100644 --- a/src/components/nostr/kinds/HighlightRenderer.tsx +++ b/src/components/nostr/kinds/HighlightRenderer.tsx @@ -94,7 +94,10 @@ export function Kind9802Renderer({ event }: BaseEventProps) { className="hover:underline hover:decoration-dotted cursor-crosshair text-xs line-clamp-1 break-words" onClick={handleOpenEvent} > - + )}