Skip to content

Commit

Permalink
fix - console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyncee59 committed May 8, 2018
1 parent 219d04b commit 773b5d6
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -26,7 +26,6 @@ export default ({ coreSagas }) => {
const source = prop('source', formValues)
const threshold = 250
const { yMax, yOffset } = action.payload
console.log(yMax, yOffset, threshold, yMax - yOffset < threshold)
if (yMax - yOffset < threshold) {
yield put(actions.core.data.bitcoin.fetchTransactions(source, false))
}
Expand All @@ -41,10 +40,8 @@ export default ({ coreSagas }) => {
const field = path(['meta', 'field'], action)
const payload = prop('payload', action)
if (!equals('btcTransactions', form)) return
yield console.log(form, field, payload)
switch (field) {
case 'source':
console.log('source changed:' + payload)
const source = payload.xpub || payload.address
yield put(actions.core.data.bitcoin.fetchTransactions(source, true))
}
Expand Down

0 comments on commit 773b5d6

Please sign in to comment.