Skip to content

Commit 4c30b78

Browse files
committed
refactor: using ttag for SendAmountInput and removed unused imports
1 parent 92009f7 commit 4c30b78

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/screens/SendAmountInput.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ import {
1616
} from 'react-native';
1717
import { connect } from 'react-redux';
1818
import { getStatusBarHeight } from 'react-native-status-bar-height';
19-
import { t, ngettext, msgid } from 'ttag';
19+
import { t } from 'ttag';
2020
import { get } from 'lodash';
21-
// Import the bigIntCoercibleSchema from wallet-lib
2221
import { bigIntCoercibleSchema } from '@hathor/wallet-lib/lib/utils/bigint';
2322

2423
import { IS_MULTI_TOKEN } from '../constants';
@@ -148,7 +147,7 @@ class SendAmountInput extends React.Component {
148147
const { available } = balance;
149148
const amountAndToken = `${renderValue(available, this.isNFT())} ${this.state.token.symbol}`;
150149
// Just use the string directly for display
151-
return `${amountAndToken} available`;
150+
return t`${amountAndToken} available`;
152151
};
153152

154153
const renderGhostElement = () => (

0 commit comments

Comments
 (0)