Commit a0da2e23 authored by mgabdev's avatar mgabdev

Updated number formatter util to return single span child, not multiple fragments

parent b4b7506c
......@@ -5,6 +5,6 @@ export const shortNumberFormat = number => {
if (number < 1000) {
return <FormattedNumber value={number} />;
} else {
return <Fragment><FormattedNumber value={number / 1000} maximumFractionDigits={1} />K</Fragment>;
return <span><FormattedNumber value={number / 1000} maximumFractionDigits={1} />K</span>;
}
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment