refactor(server, web, mobile): Change wording of memory titles (#9025)

Change wording of memory titles
This commit is contained in:
Adam Jackson 2024-04-23 11:08:02 -04:00 committed by GitHub
parent f5cf057e84
commit 661540c886
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -277,4 +277,4 @@ export const handlePromiseError = <T>(promise: Promise<T>): void => {
promise.catch((error) => console.error(`[utils.ts]:handlePromiseError ${error}`, error));
};
export const memoryLaneTitle = (yearsAgo: number) => `${yearsAgo} ${yearsAgo ? 'years' : 'year'} since...`;
export const memoryLaneTitle = (yearsAgo: number) => `${yearsAgo} ${yearsAgo ? 'years' : 'year'} ago`;