Skip to content

Commit

Permalink
fix(Watch Only): refresh txs after send
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Jun 5, 2018
1 parent bac2068 commit f1e1b3a
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -8,14 +8,15 @@ export default ({ coreSagas }) => {

const initialized = function * () {
try {
const defaultSource = ''
const initialValues = {
source: '',
source: defaultSource,
status: '',
search: ''
}
yield put(actions.form.initialize('btcTransactions', initialValues))
const btcTransactionsR = yield select(selectors.core.data.bitcoin.getTransactions)
if (!Remote.Success.is(btcTransactionsR)) yield put(actions.core.data.bitcoin.fetchData())
if (!Remote.Success.is(btcTransactionsR)) yield put(actions.core.data.bitcoin.fetchData(defaultSource, true))
} catch (e) {
yield put(actions.logs.logErrorMessage(logLocation, 'initialized', e))
}
Expand Down

0 comments on commit f1e1b3a

Please sign in to comment.