diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-09-18 01:09:48 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-09-20 05:31:10 +0800 |
commit | 04ec3f0b6b3c66b8d75b7d3da257680a97453915 (patch) | |
tree | 604f5623534e28d74691113c66f2ecf9f7fb2a53 /ui/app/components/transaction-action | |
parent | d0d0103bb52cbc032a3b3ea2a2ff5edbf67b0d19 (diff) | |
download | tangerine-wallet-browser-04ec3f0b6b3c66b8d75b7d3da257680a97453915.tar tangerine-wallet-browser-04ec3f0b6b3c66b8d75b7d3da257680a97453915.tar.gz tangerine-wallet-browser-04ec3f0b6b3c66b8d75b7d3da257680a97453915.tar.bz2 tangerine-wallet-browser-04ec3f0b6b3c66b8d75b7d3da257680a97453915.tar.lz tangerine-wallet-browser-04ec3f0b6b3c66b8d75b7d3da257680a97453915.tar.xz tangerine-wallet-browser-04ec3f0b6b3c66b8d75b7d3da257680a97453915.tar.zst tangerine-wallet-browser-04ec3f0b6b3c66b8d75b7d3da257680a97453915.zip |
Fix Transaction view styles
Diffstat (limited to 'ui/app/components/transaction-action')
-rw-r--r-- | ui/app/components/transaction-action/transaction-action.component.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/transaction-action/transaction-action.component.js b/ui/app/components/transaction-action/transaction-action.component.js index 81a1e96d0..1729b878c 100644 --- a/ui/app/components/transaction-action/transaction-action.component.js +++ b/ui/app/components/transaction-action/transaction-action.component.js @@ -4,7 +4,7 @@ import { getTransactionActionKey } from '../../helpers/transactions.util' export default class TransactionAction extends PureComponent { static contextTypes = { - tOrDefault: PropTypes.func, + t: PropTypes.func, } static propTypes = { @@ -35,7 +35,7 @@ export default class TransactionAction extends PureComponent { } const actionKey = await getTransactionActionKey(transaction, data) - const action = actionKey && this.context.tOrDefault(actionKey) + const action = actionKey && this.context.t(actionKey) this.setState({ transactionAction: action }) } |