aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@users.noreply.github.com>2019-01-11 00:24:37 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-01-11 00:24:37 +0800
commiteaca9d21e602c52f7bb58a719bd3720c418d1083 (patch)
tree4f403aa01ee334a8897228062ca376d1b6410964 /ui/app/components
parentcef4caeb61f2564e1ed871c12449f1e5c8d66427 (diff)
downloadtangerine-wallet-browser-eaca9d21e602c52f7bb58a719bd3720c418d1083.tar
tangerine-wallet-browser-eaca9d21e602c52f7bb58a719bd3720c418d1083.tar.gz
tangerine-wallet-browser-eaca9d21e602c52f7bb58a719bd3720c418d1083.tar.bz2
tangerine-wallet-browser-eaca9d21e602c52f7bb58a719bd3720c418d1083.tar.lz
tangerine-wallet-browser-eaca9d21e602c52f7bb58a719bd3720c418d1083.tar.xz
tangerine-wallet-browser-eaca9d21e602c52f7bb58a719bd3720c418d1083.tar.zst
tangerine-wallet-browser-eaca9d21e602c52f7bb58a719bd3720c418d1083.zip
Fix confirm screen for sending ether tx with hex data (#6008)
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/pages/confirm-transaction-switch/confirm-transaction-switch.component.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/app/components/pages/confirm-transaction-switch/confirm-transaction-switch.component.js b/ui/app/components/pages/confirm-transaction-switch/confirm-transaction-switch.component.js
index 76782cf6a..cf79b94bc 100644
--- a/ui/app/components/pages/confirm-transaction-switch/confirm-transaction-switch.component.js
+++ b/ui/app/components/pages/confirm-transaction-switch/confirm-transaction-switch.component.js
@@ -32,6 +32,7 @@ export default class ConfirmTransactionSwitch extends Component {
txData,
methodData: { name },
fetchingData,
+ isEtherTransaction,
} = this.props
const { id, txParams: { data } = {} } = txData
@@ -44,6 +45,11 @@ export default class ConfirmTransactionSwitch extends Component {
return <Redirect to={{ pathname }} />
}
+ if (isEtherTransaction) {
+ const pathname = `${CONFIRM_TRANSACTION_ROUTE}/${id}${CONFIRM_SEND_ETHER_PATH}`
+ return <Redirect to={{ pathname }} />
+ }
+
if (data) {
const methodName = name && name.toLowerCase()