Skip to content

Commit

Permalink
♻️ Add custom filter to loadMoreTransactions
Browse files Browse the repository at this point in the history
  • Loading branch information
massao committed Feb 28, 2019
1 parent 8e11124 commit 9921da0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/actions/transactions.js
Expand Up @@ -103,13 +103,13 @@ export const loadTransactions = ({ publicKey, address }) =>
};

export const transactionsRequested = ({
address, limit, offset, filter,
address, limit, offset, filter, customFilters = {},
}) =>
(dispatch, getState) => {
dispatch(loadingStarted(actionTypes.transactionsRequested));
const liskAPIClient = getState().peers.liskAPIClient;
getTransactions({
liskAPIClient, address, limit, offset, filter,
liskAPIClient, address, limit, offset, filter, customFilters,
})
.then((response) => {
dispatch(loadingFinished(actionTypes.transactionsRequested));
Expand Down

0 comments on commit 9921da0

Please sign in to comment.