Browse Source

fix(lint): fix linting errors

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
331812b1bf
  1. 18
      app/reducers/activity.js

18
app/reducers/activity.js

@ -101,8 +101,9 @@ const allActivity = createSelector(
const searchedArr = [...payments, ...invoices, ...transactions].filter(tx => {
if ((tx.tx_hash && tx.tx_hash.includes(searchText)) ||
(tx.payment_hash && tx.payment_hash.includes(searchText)) ||
(tx.r_hash && tx.r_hash.includes(searchText)))
{ return true }
(tx.r_hash && tx.r_hash.includes(searchText))) {
return true
}
return false
})
@ -156,19 +157,6 @@ activitySelectors.nonActiveFilters = createSelector(
(filters, filter) => filters.filter(f => f.key !== filter.key)
)
activitySelectors.searchActivity = createSelector(
searchSelector,
paymentsSelector,
transactionsSelector,
invoicesSelector,
(searchText, payments, transactions, invoices) => {
if (!searchText.length) { return }
}
)
export { activitySelectors }

Loading…
Cancel
Save