From c3874e4de2f30a721e160fb47d0e0b501d060d11 Mon Sep 17 00:00:00 2001 From: jessop Date: Wed, 25 Sep 2019 22:38:23 -0400 Subject: [PATCH] remove extra preventDefault --- src/ui/component/common/paginate.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ui/component/common/paginate.jsx b/src/ui/component/common/paginate.jsx index cac87b5c6..da07d6d8a 100644 --- a/src/ui/component/common/paginate.jsx +++ b/src/ui/component/common/paginate.jsx @@ -43,7 +43,7 @@ function Paginate(props: Props) { return ( // Hide the paginate controls if we are loading or there is only one page // It should still be rendered to trigger the onPageChange callback -
e.preventDefault()} style={totalPages <= 1 || loading ? { display: 'none' } : null}> + -