mirror of
https://github.com/dergigi/boris.git
synced 2025-12-17 06:34:24 +01:00
fix: replace any type with proper bookmark interface for linter compliance
This commit is contained in:
@@ -129,7 +129,7 @@ const Bookmarks: React.FC<BookmarksProps> = ({ relayPool, onLogout }) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// Wrap handleSelectUrl to close mobile sidebar when selecting content
|
// 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) {
|
if (isMobile && isSidebarOpen) {
|
||||||
toggleSidebar()
|
toggleSidebar()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user