Fix string (#257)

This commit is contained in:
saltrafael 2021-11-09 17:25:19 -03:00 committed by GitHub
parent ef1ebfc491
commit a7c7881795
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -185,9 +185,9 @@ function WalletTipAmountSelector(props: Props) {
if (validCustomTipInput) {
setTipError(
__('Amount of $%input_amount% LBC in USB is lower than price of $%price_amount%', {
input_amount: convertToTwoDecimalsOrMore(convertedAmount, 4),
price_amount: convertToTwoDecimalsOrMore(customTipAmount),
__('Insufficient amount (%input_amount% Credits = %converted_amount% USD).', {
input_amount: amount,
converted_amount: convertToTwoDecimalsOrMore(convertedAmount, 4),
})
);
} else {