diff options
author | kumavis <kumavis@users.noreply.github.com> | 2017-08-08 01:51:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-08 01:51:18 +0800 |
commit | 57abc58d623b66a091987a944d8c45737f4feabe (patch) | |
tree | 546623f2e7f98dc745afe924e3937da722894820 /ui/app/components/shapeshift-form.js | |
parent | 2ba5737728d2539fc3bc9015e440f37341219cdc (diff) | |
parent | 50fc9c965842f023180630267ecd8dc4f47e9cd6 (diff) | |
download | tangerine-wallet-browser-57abc58d623b66a091987a944d8c45737f4feabe.tar tangerine-wallet-browser-57abc58d623b66a091987a944d8c45737f4feabe.tar.gz tangerine-wallet-browser-57abc58d623b66a091987a944d8c45737f4feabe.tar.bz2 tangerine-wallet-browser-57abc58d623b66a091987a944d8c45737f4feabe.tar.lz tangerine-wallet-browser-57abc58d623b66a091987a944d8c45737f4feabe.tar.xz tangerine-wallet-browser-57abc58d623b66a091987a944d8c45737f4feabe.tar.zst tangerine-wallet-browser-57abc58d623b66a091987a944d8c45737f4feabe.zip |
Merge pull request #1835 from MetaMask/NewUI
Begin UI Refactor with Responsiveness & New Menus
Diffstat (limited to 'ui/app/components/shapeshift-form.js')
-rw-r--r-- | ui/app/components/shapeshift-form.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/ui/app/components/shapeshift-form.js b/ui/app/components/shapeshift-form.js index e0a720426..76a265d63 100644 --- a/ui/app/components/shapeshift-form.js +++ b/ui/app/components/shapeshift-form.js @@ -2,7 +2,6 @@ const PersistentForm = require('../../lib/persistent-form') const h = require('react-hyperscript') const inherits = require('util').inherits const connect = require('react-redux').connect -const ReactCSSTransitionGroup = require('react-addons-css-transition-group') const actions = require('../actions') const Qr = require('./qr-code') const isValidAddress = require('../util').isValidAddress @@ -24,14 +23,7 @@ function ShapeshiftForm () { } ShapeshiftForm.prototype.render = function () { - return h(ReactCSSTransitionGroup, { - className: 'css-transition-group', - transitionName: 'main', - transitionEnterTimeout: 300, - transitionLeaveTimeout: 300, - }, [ - this.props.qrRequested ? h(Qr, {key: 'qr'}) : this.renderMain(), - ]) + return this.props.qrRequested ? h(Qr, {key: 'qr'}) : this.renderMain() } ShapeshiftForm.prototype.renderMain = function () { |