1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00

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

This commit is contained in:
Michel Heusschen 2024-07-05 12:51:52 +02:00 committed by GitHub
parent f33d5b0a38
commit e5c92912fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 } });