aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui/app/components/shapeshift-form.js
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-07-28 06:13:07 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-07-28 22:29:51 +0800
commit89c74ac4adf7d064e144594537d8e8ee5a0f8082 (patch)
tree37fa514011d4dd99d989dbb5d164d4470373ae19 /old-ui/app/components/shapeshift-form.js
parent6326dab1866f3dc795a74133efebb62b1bd07003 (diff)
downloadtangerine-wallet-browser-89c74ac4adf7d064e144594537d8e8ee5a0f8082.tar.gz
tangerine-wallet-browser-89c74ac4adf7d064e144594537d8e8ee5a0f8082.tar.zst
tangerine-wallet-browser-89c74ac4adf7d064e144594537d8e8ee5a0f8082.zip
Rewrite AccountQrScreen to use flexbox
The old QR screen was absolutely positioning everything which broke when the app bar resized for the new UI announcement. This change, while futile*, makes the QR screen less bad. * futile because the old UI is being deprecated
Diffstat (limited to 'old-ui/app/components/shapeshift-form.js')
-rw-r--r--old-ui/app/components/shapeshift-form.js4
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 () {