aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send_/send-footer/send-footer.component.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-04-27 08:38:14 +0800
committerDan <danjm.com@gmail.com>2018-04-27 10:46:11 +0800
commit91c201aa72581a59a0d2ef73a225b1768584dea7 (patch)
tree00782275e57c568fff16e289002a6c3a91f3c81e /ui/app/components/send_/send-footer/send-footer.component.js
parent8ff7806f1b471a90fa3f45ebc10f0f4452ade541 (diff)
downloadtangerine-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-footer/send-footer.component.js')
-rw-r--r--ui/app/components/send_/send-footer/send-footer.component.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/ui/app/components/send_/send-footer/send-footer.component.js b/ui/app/components/send_/send-footer/send-footer.component.js
index 64dd027cf..ffece433e 100644
--- a/ui/app/components/send_/send-footer/send-footer.component.js
+++ b/ui/app/components/send_/send-footer/send-footer.component.js
@@ -6,24 +6,24 @@ import { CONFIRM_TRANSACTION_ROUTE, DEFAULT_ROUTE } from '../../../routes'
export default class SendFooter extends Component {
static propTypes = {
- addToAddressBook: PropTypes.func,
+ addToAddressBookIfNew: PropTypes.func,
amount: PropTypes.string,
clearSend: PropTypes.func,
+ disabled: PropTypes.bool,
editingTransactionId: PropTypes.string,
- errors: PropTypes.object,
+ errors: PropTypes.object,
from: PropTypes.object,
gasLimit: PropTypes.string,
gasPrice: PropTypes.string,
gasTotal: PropTypes.string,
history: PropTypes.object,
selectedToken: PropTypes.object,
- signTokenTx: PropTypes.func,
- signTx: PropTypes.func,
+ sign: PropTypes.func,
to: PropTypes.string,
toAccounts: PropTypes.array,
tokenBalance: PropTypes.string,
unapprovedTxs: PropTypes.object,
- updateTx: PropTypes.func,
+ update: PropTypes.func,
};
onSubmit (event) {
@@ -56,13 +56,13 @@ export default class SendFooter extends Component {
editingTransactionId
? update({
- from,
- to,
amount,
+ editingTransactionId,
+ from,
gas,
gasPrice,
selectedToken,
- editingTransactionId,
+ to,
unapprovedTxs,
})
: sign({ selectedToken, to, amount, from, gas, gasPrice })
@@ -83,7 +83,7 @@ export default class SendFooter extends Component {
onSubmit={e => this.onSubmit(e)}
disabled={disabled}
/>
- );
+ )
}
}