diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-08-01 01:02:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-01 01:02:21 +0800 |
commit | 4f02726fd9a2b7509dfd00eb4b23d9fc81eb5dcd (patch) | |
tree | a4d80674801687b915ffad6c0530df2b5d1edbc3 /old-ui/app/components/shapeshift-form.js | |
parent | 2cefab544d4ed24788dc09e7d7b527655676c2c1 (diff) | |
parent | c3ce2984ef078d39b88a1fd8b007063d6c994c23 (diff) | |
download | tangerine-wallet-browser-4f02726fd9a2b7509dfd00eb4b23d9fc81eb5dcd.tar tangerine-wallet-browser-4f02726fd9a2b7509dfd00eb4b23d9fc81eb5dcd.tar.gz tangerine-wallet-browser-4f02726fd9a2b7509dfd00eb4b23d9fc81eb5dcd.tar.bz2 tangerine-wallet-browser-4f02726fd9a2b7509dfd00eb4b23d9fc81eb5dcd.tar.lz tangerine-wallet-browser-4f02726fd9a2b7509dfd00eb4b23d9fc81eb5dcd.tar.xz tangerine-wallet-browser-4f02726fd9a2b7509dfd00eb4b23d9fc81eb5dcd.tar.zst tangerine-wallet-browser-4f02726fd9a2b7509dfd00eb4b23d9fc81eb5dcd.zip |
Merge pull request #4888 from whymarrh/suggest-new-ui
Add old UI component to suggest new UI
Diffstat (limited to 'old-ui/app/components/shapeshift-form.js')
-rw-r--r-- | old-ui/app/components/shapeshift-form.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/old-ui/app/components/shapeshift-form.js b/old-ui/app/components/shapeshift-form.js index 97068db0a..14de309ab 100644 --- a/old-ui/app/components/shapeshift-form.js +++ b/old-ui/app/components/shapeshift-form.js @@ -3,7 +3,6 @@ const h = require('react-hyperscript') const inherits = require('util').inherits const connect = require('react-redux').connect const actions = require('../../../ui/app/actions') -const Qr = require('./qr-code') const isValidAddress = require('../util').isValidAddress module.exports = connect(mapStateToProps)(ShapeshiftForm) @@ -11,7 +10,6 @@ function mapStateToProps (state) { return { warning: state.appState.warning, isSubLoading: state.appState.isSubLoading, - qrRequested: state.appState.qrRequested, } } @@ -23,7 +21,7 @@ function ShapeshiftForm () { } ShapeshiftForm.prototype.render = function () { - return this.props.qrRequested ? h(Qr, {key: 'qr'}) : this.renderMain() + return this.renderMain() } ShapeshiftForm.prototype.renderMain = function () { |