Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
format: remove comments and fix translations typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lucachaco committed Jun 28, 2021
1 parent abc08ff commit a0297c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
6 changes: 3 additions & 3 deletions src/common/translations/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
"slideConfirm": "Deslize para confirmar",
"balance": "Saldo",
"unavailableAddress": "O endereço da carteira digitado não é válido",
"advanced": "Opciones Avanzadas",
"gasPrice": "Preço da Gás",
"gasLimit": "Limite de Gás",
"advanced": "Opções avançadas",
"gasPrice": "Preço Gás",
"gasLimit": "Limite Gás",
"units": "Unidades"
},
"add": {
Expand Down
9 changes: 0 additions & 9 deletions src/pages/wallet/transfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,7 @@ class Transfer extends Component {
const { symbol, type } = this.coin;

if (prices && prices !== curPrices) {
// const { customFee, feeSymbol } = this.state;
// const customFeeValue = common.getCoinValue(customFee, feeSymbol, type, currency, prices);
const amountPlaceholderText = Transfer.generateAmountPlaceholderText(symbol, type, currency, prices);
// this.setState({ customFeeValue amountPlaceholderText });
this.setState({ amountPlaceholderText });
}
}
Expand Down Expand Up @@ -920,11 +917,6 @@ class Transfer extends Component {
this.setState({ feeSymbol, amountPlaceholderText });
}

// resetConfirm() {
// this.setState({ isConfirm: false });
// this.confirmSlider.reset();
// }

showInvalidAddressNotification() {
const { addNotification } = this.props;
const notification = createErrorNotification(
Expand Down Expand Up @@ -988,7 +980,6 @@ class Transfer extends Component {
symbol, type, address, needFetch: true,
});
}
// this.resetConfirm();
}
}

Expand Down

0 comments on commit a0297c7

Please sign in to comment.