diff --git a/src/components/NoteCard.tsx b/src/components/NoteCard.tsx index 9794b7c0..6f9659bf 100644 --- a/src/components/NoteCard.tsx +++ b/src/components/NoteCard.tsx @@ -1,5 +1,5 @@ import { Link } from 'react-router-dom'; -import { MessageCircle, Repeat2, Heart, Zap, Bookmark, MoreHorizontal } from 'lucide-react'; +import { MessageCircle, Repeat2, Heart, Zap, MoreHorizontal } from 'lucide-react'; import { Avatar, AvatarImage, AvatarFallback } from '@/components/ui/avatar'; import { NoteContent } from '@/components/NoteContent'; import { useAuthor } from '@/hooks/useAuthor'; @@ -10,7 +10,6 @@ import { cn } from '@/lib/utils'; import { nip19 } from 'nostr-tools'; import { useMemo, useState } from 'react'; import type { NostrEvent } from '@nostrify/nostrify'; -import { useBookmarks } from '@/hooks/useBookmarks'; import { NoteMoreMenu } from '@/components/NoteMoreMenu'; interface NoteCardProps { @@ -34,8 +33,6 @@ export function NoteCard({ event, className }: NoteCardProps) { const images = useMemo(() => extractImages(event.content), [event.content]); const { data: stats } = useEventStats(event.id); const [liked, setLiked] = useState(false); - const { isBookmarked, toggleBookmark } = useBookmarks(); - const bookmarked = isBookmarked(event.id); const [moreMenuOpen, setMoreMenuOpen] = useState(false); // Check if content is a reply @@ -170,23 +167,6 @@ export function NoteCard({ event, className }: NoteCardProps) { {stats?.zaps ? {stats.zaps} : null} - {/* Bookmark */} - - {/* More */}