mirror of
https://github.com/immich-app/immich.git
synced 2024-12-27 10:58:13 +02:00
chore(web): remove unused s function (#10878)
This commit is contained in:
parent
f33d5b0a38
commit
e5c92912fc
@ -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 } });
|
||||
|
Loading…
Reference in New Issue
Block a user