Skip to content

High performance self-hosted photo and video management solution.

chore(web): remove unused s function (#10878)

Michel Heusschene5c92912fc9f
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 = <T>(promise: Promise<T>): 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 } });