From c29881c5e1f1e4a15b037d762ed0c5ca287eed2e Mon Sep 17 00:00:00 2001 From: HipsterBrown Date: Fri, 18 May 2018 14:54:20 -0400 Subject: [PATCH] fix(pages/search): hide pagination if only one page of results --- src/pages/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/search.js b/src/pages/search.js index f77322a7dda..12683ea594f 100644 --- a/src/pages/search.js +++ b/src/pages/search.js @@ -168,7 +168,7 @@ class SearchPage extends React.Component {

No collectives found matching your query: "{term}"

)} - {showCollectives && collectives.length !== 0 && + {showCollectives && collectives.length !== 0 && total > limit &&
    { Array(Math.ceil(total / limit)).fill(1).map((n, i) => (