From c1b1469703cbb418a986cc2568052ca3dc1313eb Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Wed, 30 Oct 2019 10:01:26 +0100 Subject: [PATCH] fix suggested subscriptions. reduce number of search results. --- src/component/suggestedSubscriptionItem/view.js | 4 +++- src/page/search/index.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/component/suggestedSubscriptionItem/view.js b/src/component/suggestedSubscriptionItem/view.js index aa22439..35b60a1 100644 --- a/src/component/suggestedSubscriptionItem/view.js +++ b/src/component/suggestedSubscriptionItem/view.js @@ -72,7 +72,9 @@ class SuggestedSubscriptionItem extends React.PureComponent { )} - + {claim && ( + + )} ); } diff --git a/src/page/search/index.js b/src/page/search/index.js index b86cc92..2d5b128 100644 --- a/src/page/search/index.js +++ b/src/page/search/index.js @@ -13,7 +13,7 @@ import { selectCurrentRoute } from 'redux/selectors/drawer'; import Constants from 'constants'; // eslint-disable-line node/no-deprecated-api import SearchPage from './view'; -const numSearchResults = 50; +const numSearchResults = 25; const select = state => ({ currentRoute: selectCurrentRoute(state),