mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-24 22:03:21 +03:00
fixed wrog key issue
This commit is contained in:
parent
3c4400737e
commit
c14141f387
@ -6,7 +6,7 @@ const FormattedCurrency = ({ value, fixAt = 3, currency }) => {
|
||||
const valueInCurrency = value * currencyRate;
|
||||
const toFixedValue = valueInCurrency.toFixed(fixAt);
|
||||
|
||||
return <Fragment key="result-val">{`${currencySymbol} ${toFixedValue}`}</Fragment>;
|
||||
return <Fragment key={toFixedValue.toString()}>{`${currencySymbol} ${toFixedValue}`}</Fragment>;
|
||||
};
|
||||
|
||||
const mapStateToProps = state => ({
|
||||
|
Loading…
Reference in New Issue
Block a user