aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2017-02-06 08:27:45 +0800
committerGitHub <noreply@github.com>2017-02-06 08:27:45 +0800
commit15ae20033c22a3958ad7ff6ac74f74b1c0d2dbf5 (patch)
tree0008a579764bc5fad04568e2b3eea2dc90a7629d /ui/app/actions.js
parent24ff38e97386eafe0cd9c8e4e77dbed856b2464e (diff)
parentc0637f8d6ad969f16b7e8b582f462a7f9c480537 (diff)
downloadtangerine-wallet-browser-15ae20033c22a3958ad7ff6ac74f74b1c0d2dbf5.tar
tangerine-wallet-browser-15ae20033c22a3958ad7ff6ac74f74b1c0d2dbf5.tar.gz
tangerine-wallet-browser-15ae20033c22a3958ad7ff6ac74f74b1c0d2dbf5.tar.bz2
tangerine-wallet-browser-15ae20033c22a3958ad7ff6ac74f74b1c0d2dbf5.tar.lz
tangerine-wallet-browser-15ae20033c22a3958ad7ff6ac74f74b1c0d2dbf5.tar.xz
tangerine-wallet-browser-15ae20033c22a3958ad7ff6ac74f74b1c0d2dbf5.tar.zst
tangerine-wallet-browser-15ae20033c22a3958ad7ff6ac74f74b1c0d2dbf5.zip
Merge pull request #1088 from MetaMask/CreateShapeshiftController
Create shapeshift controller
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index c153a55a6..0c6e40552 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -843,6 +843,7 @@ function coinShiftRquest (data, marketData) {
return (dispatch) => {
dispatch(actions.showLoadingIndication())
shapeShiftRequest('shift', { method: 'POST', data}, (response) => {
+ dispatch(actions.hideLoadingIndication())
if (response.error) return dispatch(actions.displayWarning(response.error))
var message = `
Deposit your ${response.depositType} to the address bellow:`
@@ -933,4 +934,4 @@ function forceUpdateMetamaskState(dispatch){
}
dispatch(actions.updateMetamaskState(newState))
})
-} \ No newline at end of file
+}