diff options
author | Dan <danjm.com@gmail.com> | 2018-04-27 08:38:14 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-04-27 10:46:11 +0800 |
commit | 91c201aa72581a59a0d2ef73a225b1768584dea7 (patch) | |
tree | 00782275e57c568fff16e289002a6c3a91f3c81e /ui/app/components/send_/send-content/send-gas-row | |
parent | 8ff7806f1b471a90fa3f45ebc10f0f4452ade541 (diff) | |
download | tangerine-wallet-browser-91c201aa72581a59a0d2ef73a225b1768584dea7.tar.gz tangerine-wallet-browser-91c201aa72581a59a0d2ef73a225b1768584dea7.tar.zst tangerine-wallet-browser-91c201aa72581a59a0d2ef73a225b1768584dea7.zip |
Lint fixes and alphabetization for i3725-refactor-send-component
Diffstat (limited to 'ui/app/components/send_/send-content/send-gas-row')
-rw-r--r-- | ui/app/components/send_/send-content/send-gas-row/send-gas-row.component.js | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/ui/app/components/send_/send-content/send-gas-row/send-gas-row.component.js b/ui/app/components/send_/send-content/send-gas-row/send-gas-row.component.js index 056a04aae..65dc6ad93 100644 --- a/ui/app/components/send_/send-content/send-gas-row/send-gas-row.component.js +++ b/ui/app/components/send_/send-content/send-gas-row/send-gas-row.component.js @@ -8,20 +8,23 @@ export default class SendGasRow extends Component { static propTypes = { closeFromDropdown: PropTypes.func, conversionRate: PropTypes.number, + convertedCurrency: PropTypes.string, from: PropTypes.string, fromAccounts: PropTypes.array, fromDropdownOpen: PropTypes.bool, + gasLoadingError: PropTypes.bool, + gasTotal: PropTypes.string, openFromDropdown: PropTypes.func, + showCustomizeGasModal: PropTypes.bool, tokenContract: PropTypes.object, updateSendFrom: PropTypes.func, updateSendTokenBalance: PropTypes.func, - gasLoadingError: PropTypes.bool, }; async handleFromChange (newFrom) { const { - updateSendFrom, tokenContract, + updateSendFrom, updateSendTokenBalance, } = this.props @@ -36,22 +39,22 @@ export default class SendGasRow extends Component { const { conversionRate, convertedCurrency, - showCustomizeGasModal, - gasTotal, gasLoadingError, + gasTotal, + showCustomizeGasModal, } = this.props return ( <SendRowWrapper label={`${this.context.t('gasFee')}:`}> <GasFeeDisplay - gasTotal={gasTotal} conversionRate={conversionRate} convertedCurrency={convertedCurrency} - onClick={() => showCustomizeGasModal()} gasLoadingError={gasLoadingError} + gasTotal={gasTotal} + onClick={() => showCustomizeGasModal()} /> </SendRowWrapper> - ); + ) } } |