Skip to content

Commit

Permalink
fix: display rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosei805 committed Nov 13, 2024
1 parent 2c823be commit ebbd0ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const BookDetailControlPanel = ({
<BookDetailThumbnail thumbnail={thumbnail} />
{user && location.pathname.includes('global')
? searchBook &&
!!totalBook && (
typeof totalBook == 'number' && (
<GlobalBookDetailControlButtons
searchBook={searchBook}
totalBook={totalBook}
Expand Down

0 comments on commit ebbd0ab

Please sign in to comment.