Fix double translation

No need for the macro when `<I18nMessage>` is used.
This commit is contained in:
infinite-persistence 2022-03-31 12:46:20 +08:00
parent e21db9d58e
commit aa5e4d6c13
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -13,9 +13,9 @@ function WalletSpendableBalanceHelp(props: Props) {
);
return !balance ? null : inline ? (
<span className="help--spendable">{getMessage(__('%balance% available.'))}</span>
<span className="help--spendable">{getMessage('%balance% available.')}</span>
) : (
<div className="help">{getMessage(__('Your immediately spendable balance is %balance%.'))}</div>
<div className="help">{getMessage('Your immediately spendable balance is %balance%.')}</div>
);
}