Skip to content

Commit

Permalink
fix: missing &&
Browse files Browse the repository at this point in the history
  • Loading branch information
timlrx authored May 29, 2021
1 parent 5cbb163 commit b44e209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/ListLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default function ListLayout({ posts, title, initialDisplayPosts = [], pag
</div>
{pagination &&
pagination.totalPages > 1 &&
!searchValue(
!searchValue && (
<Pagination currentPage={pagination.currentPage} totalPages={pagination.totalPages} />
)}
</>
Expand Down

1 comment on commit b44e209

@vercel
Copy link

@vercel vercel bot commented on b44e209 May 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.