Progress on refactor

Update files paths, components
This commit is contained in:
mgabdev
2020-01-29 16:53:33 -05:00
parent c0f0d4f07a
commit cb55ef9f04
99 changed files with 497 additions and 508 deletions

View File

@@ -3,7 +3,7 @@ import { FormattedNumber } from 'react-intl';
export const shortNumberFormat = number => {
if (number < 1000) {
return <FormattedNumber value={number} />;
} else {
return <span><FormattedNumber value={number / 1000} maximumFractionDigits={1} />K</span>;
}
return <span><FormattedNumber value={number / 1000} maximumFractionDigits={1} />K</span>;
};