diff --git a/src/utils/FormattingUtils.ts b/src/utils/FormattingUtils.ts index 52f8bfcfa2..1fe3669f26 100644 --- a/src/utils/FormattingUtils.ts +++ b/src/utils/FormattingUtils.ts @@ -119,14 +119,3 @@ export function formatCommaSeparatedList(items: string[], itemLimit?: number): s return _t("%(items)s and %(lastItem)s", { items: items.join(', '), lastItem: lastItem }); } } - -/** - * Formats a number into a 'minimal' badge count (9, 98, 99+). - * @param count The number to convert - * @returns The badge count, stringified. - */ -export function formatMinimalBadgeCount(count: number): string { - // we specifically go from "98" to "99+" - if (count < 99) return count.toString(); - return "99+"; -}