Closed katat closed 5 years ago
@morfj It is a UI component introduced earlier. https://github.com/hubiinetwork/hubii-core/blob/master/src/components/ui/NumericText/index.js
The function trimDecimals
is currently doing the same formating work on top of the NumericText
component. Deprecating the use of the trimDecimals
will allow the values being formated by the NumbericText
directly.
@jonbern Sorry. There are some minor updates after your approval. Now it is ready for another review. Thanks.
trimDecimals()
and useNumericText
component to format the numbers instead. (fix #785)