OSDN Git Service
(root)
/
bytom
/
bytom-electron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4ef410
)
redirect to transactions after transaction created
author
Yongfeng LI
<wliyongfeng@gmail.com>
Sat, 30 Dec 2017 06:33:37 +0000
(14:33 +0800)
committer
Yongfeng LI
<wliyongfeng@gmail.com>
Sat, 30 Dec 2017 06:33:37 +0000
(14:33 +0800)
src/features/transactions/actions.js
patch
|
blob
|
history
diff --git
a/src/features/transactions/actions.js
b/src/features/transactions/actions.js
index
72c8a89
..
a250155
100644
(file)
--- a/
src/features/transactions/actions.js
+++ b/
src/features/transactions/actions.js
@@
-89,10
+89,7
@@
form.submitForm = (formParams) => function(dispatch) {
dispatch(form.created())
dispatch(push({
- pathname: `/transactions/${resp.data.txid}`,
- state: {
- preserveFlash: true
- }
+ pathname: '/transactions'
}))
})
}