From 76720fc72e3c1c54b1f5c0cbeb91facba721aea4 Mon Sep 17 00:00:00 2001 From: codytseng Date: Tue, 8 Jul 2025 22:22:05 +0800 Subject: [PATCH] fix: display more kinds of bookmarks --- src/components/BookmarkList/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/BookmarkList/index.tsx b/src/components/BookmarkList/index.tsx index c63ed350..1a24d4a1 100644 --- a/src/components/BookmarkList/index.tsx +++ b/src/components/BookmarkList/index.tsx @@ -1,7 +1,6 @@ import { useFetchEvent } from '@/hooks' import { generateEventIdFromETag } from '@/lib/tag' import { useNostr } from '@/providers/NostrProvider' -import { kinds } from 'nostr-tools' import { useEffect, useMemo, useRef, useState } from 'react' import { useTranslation } from 'react-i18next' import NoteCard, { NoteCardLoadingSkeleton } from '../NoteCard' @@ -89,7 +88,7 @@ function BookmarkedNote({ eventId }: { eventId: string }) { return } - if (!event || event.kind !== kinds.ShortTextNote) { + if (!event) { return null }