diff --git a/src/components/PostControls/util.ts b/src/components/PostControls/util.ts index 2997817cac..5d3ea74e49 100644 --- a/src/components/PostControls/util.ts +++ b/src/components/PostControls/util.ts @@ -1,5 +1,10 @@ import {type I18n} from '@lingui/core' +/** + * This matches `formatCount` from `view/com/util/numeric/format.ts`, but has + * additional truncation logic for large numbers. `roundingMode` should always + * match the original impl, regardless of if we add more formatting here. + */ export function formatPostStatCount( i18n: I18n, count: number,