mirror of
https://github.com/immich-app/immich.git
synced 2025-01-16 16:56:46 +01:00
chore(web): remove unused s function (#10878)
This commit is contained in:
parent
f33d5b0a38
commit
e5c92912fc
1 changed files with 0 additions and 2 deletions
|
@ -317,8 +317,6 @@ export const handlePromiseError = <T>(promise: Promise<T>): void => {
|
||||||
promise.catch((error) => console.error(`[utils.ts]:handlePromiseError ${error}`, error));
|
promise.catch((error) => console.error(`[utils.ts]:handlePromiseError ${error}`, error));
|
||||||
};
|
};
|
||||||
|
|
||||||
export const s = (count: number) => (count === 1 ? '' : 's');
|
|
||||||
|
|
||||||
export const memoryLaneTitle = (yearsAgo: number) => {
|
export const memoryLaneTitle = (yearsAgo: number) => {
|
||||||
const $t = get(t);
|
const $t = get(t);
|
||||||
return $t('years_ago', { values: { years: yearsAgo } });
|
return $t('years_ago', { values: { years: yearsAgo } });
|
||||||
|
|
Loading…
Reference in a new issue