diff --git a/apps/readest-app/src/app/library/components/BookItem.tsx b/apps/readest-app/src/app/library/components/BookItem.tsx index d5d6f306..c8eb3185 100644 --- a/apps/readest-app/src/app/library/components/BookItem.tsx +++ b/apps/readest-app/src/app/library/components/BookItem.tsx @@ -17,7 +17,6 @@ interface BookItemProps { handleBookUpload: (book: Book) => void; handleBookDownload: (book: Book) => void; showBookDetailsModal: (book: Book) => void; - bookContextMenuHandler: (book: Book, e: React.MouseEvent) => void; } const BookItem: React.FC = ({ @@ -28,7 +27,6 @@ const BookItem: React.FC = ({ handleBookUpload, handleBookDownload, showBookDetailsModal, - bookContextMenuHandler, }) => { const iconSize15 = useResponsiveSize(15); const { appService } = useEnv(); @@ -44,9 +42,8 @@ const BookItem: React.FC = ({ 'book-item flex h-full flex-col', appService?.hasContextMenu ? 'cursor-pointer' : '', )} - onContextMenu={bookContextMenuHandler.bind(null, book)} > -
+
{selectedBooks.includes(book.hash) && (
@@ -89,10 +86,11 @@ const BookItem: React.FC = ({ ) : (