From d873718e88e5ddc7f6241a7a4aa918ea6bbc1638 Mon Sep 17 00:00:00 2001 From: Gigi Date: Fri, 10 Oct 2025 18:03:48 +0100 Subject: [PATCH] fix: replace any type with proper bookmark interface for linter compliance --- src/components/Bookmarks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Bookmarks.tsx b/src/components/Bookmarks.tsx index 9657fcba..dd47843d 100644 --- a/src/components/Bookmarks.tsx +++ b/src/components/Bookmarks.tsx @@ -129,7 +129,7 @@ const Bookmarks: React.FC = ({ relayPool, onLogout }) => { }) // Wrap handleSelectUrl to close mobile sidebar when selecting content - const handleSelectUrl = (url: string, bookmark?: any) => { + const handleSelectUrl = (url: string, bookmark?: { id: string; kind: number; tags: string[][]; pubkey: string }) => { if (isMobile && isSidebarOpen) { toggleSidebar() }