Skip to content

Commit

Permalink
fix(refetch bch data on new wallets creation)
Browse files Browse the repository at this point in the history
  • Loading branch information
sixtedemaupeou committed Jun 1, 2018
1 parent 9a8c682 commit 5b2219f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ exports[`ListItemContainer renders correctly 1`] = `
<ListItemContainer
bchActions={
Object {
"addBchAccount": [Function],
"addBchAccountComplete": [Function],
"createMetadataBch": [Function],
"fetchMetadataBch": [Function],
"fetchMetadataBchFailure": [Function],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default ({ api }) => {

const newkv = set(KVStoreEntry.value, newBchEntry, kv)
yield put(A.createMetadataBch(newkv))
yield refetchContextData()
}

const fetchMetadataBch = function * () {
Expand Down

0 comments on commit 5b2219f

Please sign in to comment.