fix suggested subscriptions. reduce number of search results.

This commit is contained in:
Akinwale Ariwodola 2019-10-30 10:01:26 +01:00
parent fc1ef26a17
commit c1b1469703
2 changed files with 4 additions and 2 deletions

View file

@ -72,7 +72,9 @@ class SuggestedSubscriptionItem extends React.PureComponent {
)} )}
</View> </View>
<SubscribeButton style={subscriptionsStyle.suggestedItemSubscribe} uri={normalizeURI(uri)} /> {claim && (
<SubscribeButton style={subscriptionsStyle.suggestedItemSubscribe} uri={normalizeURI(claim.permanent_url)} />
)}
</View> </View>
); );
} }

View file

@ -13,7 +13,7 @@ import { selectCurrentRoute } from 'redux/selectors/drawer';
import Constants from 'constants'; // eslint-disable-line node/no-deprecated-api import Constants from 'constants'; // eslint-disable-line node/no-deprecated-api
import SearchPage from './view'; import SearchPage from './view';
const numSearchResults = 50; const numSearchResults = 25;
const select = state => ({ const select = state => ({
currentRoute: selectCurrentRoute(state), currentRoute: selectCurrentRoute(state),