From e5c92912fc9fae0c52e2d57fc4dd01b5b6b5daa8 Mon Sep 17 00:00:00 2001 From: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Date: Fri, 5 Jul 2024 12:51:52 +0200 Subject: [PATCH] chore(web): remove unused s function (#10878) --- web/src/lib/utils.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/src/lib/utils.ts b/web/src/lib/utils.ts index 58bf49c43b..1ae381bbf2 100644 --- a/web/src/lib/utils.ts +++ b/web/src/lib/utils.ts @@ -317,8 +317,6 @@ export const handlePromiseError = (promise: Promise): void => { promise.catch((error) => console.error(`[utils.ts]:handlePromiseError ${error}`, error)); }; -export const s = (count: number) => (count === 1 ? '' : 's'); - export const memoryLaneTitle = (yearsAgo: number) => { const $t = get(t); return $t('years_ago', { values: { years: yearsAgo } });