fix: not_tags and npm packages

This commit is contained in:
Akinwale Ariwodola 2019-08-26 21:01:37 +01:00
parent 1c70fc878a
commit dc0d3ad9b6
3 changed files with 328 additions and 399 deletions

709
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -11,14 +11,13 @@ import { selectShowNsfw } from 'redux/selectors/settings';
import Constants from 'constants'; // eslint-disable-line node/no-deprecated-api
import ClaimList from './view';
const select = (state, props) => {
return {
claimSearchByQuery: selectClaimSearchByQuery(state),
lastPageReached: selectClaimSearchByQueryLastPageReached(state),
loadingByQuery: selectFetchingClaimSearchByQuery(state),
loading: selectFetchingClaimSearch(state),
};
};
const select = state => ({
showNsfwContent: selectShowNsfw(state),
claimSearchByQuery: selectClaimSearchByQuery(state),
lastPageReached: selectClaimSearchByQueryLastPageReached(state),
loadingByQuery: selectFetchingClaimSearchByQuery(state),
loading: selectFetchingClaimSearch(state),
});
const perform = dispatch => ({
claimSearch: options => dispatch(doClaimSearch(options)),

View file

@ -42,7 +42,6 @@ class ClaimList extends React.PureComponent {
tags: prevTags,
channelIds: prevChannelIds,
time: prevTime,
showNsfwContent,
} = prevProps;
const { claimSearchByQuery, orderBy, tags, channelIds, time } = this.props;
@ -95,6 +94,8 @@ class ClaimList extends React.PureComponent {
options.release_time = this.getReleaseTimeOption(time);
}
console.log(options);
return options;
}