Skip to content

Commit

Permalink
fix(Jumio): remove unused compose
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Jul 24, 2018
1 parent 1bceb61 commit ac88981
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { selectors } from 'data'
import { add, compose, filter, reduce, pathOr } from 'ramda'
import { add, filter, reduce, pathOr } from 'ramda'
import { Exchange } from 'blockchain-wallet-v4/src'

const isBuyProcessing = trade => trade.isBuy && trade.state === 'processing'

const extractPendingBalance = trades => {
const pendingBuyTrades = compose(filter(isBuyProcessing))(trades)
const pendingBuyTrades = filter(isBuyProcessing, trades)
const pendingAmounts = pendingBuyTrades.map(x =>
pathOr(0, ['receiveAmount'], x)
)
Expand Down

0 comments on commit ac88981

Please sign in to comment.