aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui/app/components/buy-button-subview.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-11-16 01:35:18 +0800
committerDan <danjm.com@gmail.com>2017-12-05 10:38:23 +0800
commitf7ad015f5bd3b037b73d7792d0a09d7e0382a511 (patch)
treef17d0975fc410216404fd1b8c75dd2ec9dc2a69c /old-ui/app/components/buy-button-subview.js
parent7f795240706c013dc4a9ece0e9c9e33897c7fc71 (diff)
downloadtangerine-wallet-browser-f7ad015f5bd3b037b73d7792d0a09d7e0382a511.tar.gz
tangerine-wallet-browser-f7ad015f5bd3b037b73d7792d0a09d7e0382a511.tar.zst
tangerine-wallet-browser-f7ad015f5bd3b037b73d7792d0a09d7e0382a511.zip
Use newui actions in old-ui
Diffstat (limited to 'old-ui/app/components/buy-button-subview.js')
-rw-r--r--old-ui/app/components/buy-button-subview.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/old-ui/app/components/buy-button-subview.js b/old-ui/app/components/buy-button-subview.js
index 15281171c..843627c33 100644
--- a/old-ui/app/components/buy-button-subview.js
+++ b/old-ui/app/components/buy-button-subview.js
@@ -2,7 +2,7 @@ const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const connect = require('react-redux').connect
-const actions = require('../actions')
+const actions = require('../../../ui/app/actions')
const CoinbaseForm = require('./coinbase-form')
const ShapeshiftForm = require('./shapeshift-form')
const Loading = require('./loading')
@@ -247,6 +247,7 @@ BuyButtonSubview.prototype.backButtonContext = function () {
if (this.props.context === 'confTx') {
this.props.dispatch(actions.showConfTxPage(false))
} else {
+ console.log(`actions.goHome`, actions.goHome);
this.props.dispatch(actions.goHome())
}
}