Skip to content

Commit 2dbc1c2

Browse files
committed
refactor: removed unused imports and unused plurals
1 parent a9ffaec commit 2dbc1c2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/screens/SendConfirmScreen.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
import React from 'react';
99
import { View } from 'react-native';
1010
import { connect } from 'react-redux';
11-
import { t, ngettext, msgid } from 'ttag';
12-
11+
import { t } from 'ttag';
1312
import hathorLib from '@hathor/wallet-lib';
14-
import { bigIntCoercibleSchema } from '@hathor/wallet-lib/lib/utils/bigint';
1513
import NewHathorButton from '../components/NewHathorButton';
1614
import SimpleInput from '../components/SimpleInput';
1715
import AmountTextInput from '../components/AmountTextInput';
@@ -67,7 +65,6 @@ class SendConfirmScreen extends React.Component {
6765
* @param {String} pin User PIN already validated
6866
*/
6967
executeSend = async (pin) => {
70-
// The amount is already a BigInt from the previous screen
7168
const outputs = [{ address: this.address, value: this.amount, token: this.token.uid }];
7269
let sendTransaction;
7370

@@ -125,7 +122,7 @@ class SendConfirmScreen extends React.Component {
125122
const balance = this.props.tokensBalance[this.token.uid].data;
126123
const available = balance ? balance.available : 0;
127124
const amountAndToken = `${renderValue(available, this.isNFT)} ${this.token.symbol}`;
128-
return `${amountAndToken} available`;
125+
return t`${amountAndToken} available`;
129126
};
130127

131128
const tokenNameUpperCase = this.token.name.toUpperCase();

0 commit comments

Comments
 (0)