diff --git a/frontend/app/components/book-detail/BookDetailControlPanel.tsx b/frontend/app/components/book-detail/BookDetailControlPanel.tsx index 9dfb75f5..57788c4d 100644 --- a/frontend/app/components/book-detail/BookDetailControlPanel.tsx +++ b/frontend/app/components/book-detail/BookDetailControlPanel.tsx @@ -33,7 +33,7 @@ const BookDetailControlPanel = ({ {user && location.pathname.includes('global') ? searchBook && - !!totalBook && ( + typeof totalBook == 'number' && (