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/conf-tx.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/conf-tx.js')
-rw-r--r-- | ui/app/conf-tx.js | 48 |
1 files changed, 19 insertions, 29 deletions
diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js index 747d3ce2b..34727ff78 100644 --- a/ui/app/conf-tx.js +++ b/ui/app/conf-tx.js @@ -1,6 +1,5 @@ const inherits = require('util').inherits const Component = require('react').Component -const ReactCSSTransitionGroup = require('react-addons-css-transition-group') const h = require('react-hyperscript') const connect = require('react-redux').connect const actions = require('./actions') @@ -92,34 +91,25 @@ ConfirmTxScreen.prototype.render = function () { warningIfExists(props.warning), - h(ReactCSSTransitionGroup, { - className: 'css-transition-group', - transitionName: 'main', - transitionEnterTimeout: 300, - transitionLeaveTimeout: 300, - }, [ - - currentTxView({ - // Properties - txData: txData, - key: txData.id, - selectedAddress: props.selectedAddress, - accounts: props.accounts, - identities: props.identities, - conversionRate, - currentCurrency, - blockGasLimit, - // Actions - buyEth: this.buyEth.bind(this, txParams.from || props.selectedAddress), - sendTransaction: this.sendTransaction.bind(this), - cancelTransaction: this.cancelTransaction.bind(this, txData), - signMessage: this.signMessage.bind(this, txData), - signPersonalMessage: this.signPersonalMessage.bind(this, txData), - cancelMessage: this.cancelMessage.bind(this, txData), - cancelPersonalMessage: this.cancelPersonalMessage.bind(this, txData), - }), - - ]), + currentTxView({ + // Properties + txData: txData, + key: txData.id, + selectedAddress: props.selectedAddress, + accounts: props.accounts, + identities: props.identities, + conversionRate, + currentCurrency, + blockGasLimit, + // Actions + buyEth: this.buyEth.bind(this, txParams.from || props.selectedAddress), + sendTransaction: this.sendTransaction.bind(this), + cancelTransaction: this.cancelTransaction.bind(this, txData), + signMessage: this.signMessage.bind(this, txData), + signPersonalMessage: this.signPersonalMessage.bind(this, txData), + cancelMessage: this.cancelMessage.bind(this, txData), + cancelPersonalMessage: this.cancelPersonalMessage.bind(this, txData), + }), ]) ) } |