diff --git a/src/components/HighlightItem.tsx b/src/components/HighlightItem.tsx index c413dd57..8c638aae 100644 --- a/src/components/HighlightItem.tsx +++ b/src/components/HighlightItem.tsx @@ -30,7 +30,7 @@ const isImageUrl = (url: string): boolean => { } // Helper to render a nostr identifier -const renderNostrId = (nostrUri: string, index: number): JSX.Element => { +const renderNostrId = (nostrUri: string, index: number): React.ReactElement => { try { // Remove nostr: prefix const identifier = nostrUri.replace(/^nostr:/, '')