diff options
author | Dan <danjm.com@gmail.com> | 2018-03-20 02:53:54 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-03-20 03:09:37 +0800 |
commit | 09260f9c5e0b2c460a214f00b87c8fafe0470419 (patch) | |
tree | 80643438ba93a09cef581010e7d27b7feb4a09d0 /ui/app/components/customize-gas-modal | |
parent | 57338200247fa6520a58c9b4a9625edb0382aba1 (diff) | |
download | tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.tar.gz tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.tar.zst tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.zip |
Fixed t() calls where localeMessages is missing; and fix incorrect connect reference.
Diffstat (limited to 'ui/app/components/customize-gas-modal')
-rw-r--r-- | ui/app/components/customize-gas-modal/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/customize-gas-modal/index.js b/ui/app/components/customize-gas-modal/index.js index 8e3960ce4..ed0a3b45e 100644 --- a/ui/app/components/customize-gas-modal/index.js +++ b/ui/app/components/customize-gas-modal/index.js @@ -280,16 +280,16 @@ CustomizeGasModal.prototype.render = function () { h('div.send-v2__customize-gas__revert', { onClick: () => this.revert(), - }, [t('revert')]), + }, [t(this.props.localeMessages, 'revert')]), h('div.send-v2__customize-gas__buttons', [ h('div.send-v2__customize-gas__cancel.allcaps', { onClick: this.props.hideModal, - }, [t('cancel')]), + }, [t(this.props.localeMessages, 'cancel')]), h(`div.send-v2__customize-gas__save${error ? '__error' : ''}.allcaps`, { onClick: () => !error && this.save(gasPrice, gasLimit, gasTotal), - }, [t('save')]), + }, [t(this.props.localeMessages, 'save')]), ]), ]), |